Class BinaryParseInfo


  • public class BinaryParseInfo
    extends FieldParseInfo
    This class is used to parse fields of type BINARY.
    • Constructor Detail

      • BinaryParseInfo

        public BinaryParseInfo​(int len)
    • Method Detail

      • parseBinary

        public <T> IsoValue<?> parseBinary​(int field,
                                           byte[] buf,
                                           int pos,
                                           CustomField<T> custom)
                                    throws ParseException
        Description copied from class: FieldParseInfo
        Parses binary data from the buffer, creating and returning an IsoValue of the configured type and length.
        Specified by:
        parseBinary in class FieldParseInfo
        Parameters:
        field - The field index, useful for error reporting.
        buf - The full ISO message buffer.
        pos - The starting position for the field data.
        custom - A CustomField to decode the field.
        Throws:
        ParseException