ByteDataField Problem

I am using a FIXLEN_DATA_READER to read records from a binary flat file, all the fields are binary arrays of varying size. The first field defined in the record is a byte array of length 2.

When I attempt to reformat the data, I expect that the value for the first field will be a byte array of length 2. However, I sometimes get a byte array of length 1.

It appears that ByteDataField.fromString(CharSequence) does not obtain the byte array from the CharSequence instance in a manner suitable for byte arrays.
It performs a toString() on the sequence which will truncate the array.

Maybe it should walk through the CharSequence one char at a time filling the byte array value.

This is resolved when I set the byteMode attr for the FIXLEN_DATA_READER