This method returns true, then the value of getNumberOfBytes() tells us how many bytes to read in
order to determine the full length of the field (if the field is not complex) or the number of sub-fields to
read in order to determine the full field (if this field is complex).
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Indicates the number of bytes that must be read for this field. If this field is length-encoded
(see isLengthEncoded(), then this method tells us how many bytes to read in order to determine
the full length of the field. Otherwise, these bytes tell us the full length of the field themselves.
Returns:
the number of bytes to read for this field
isLengthEncoded
publicbooleanisLengthEncoded()
This method returns true, then the value of getNumberOfBytes() tells us how many bytes to read in
order to determine the full length of the field (if the field is not complex) or the number of sub-fields to
read in order to determine the full field (if this field is complex). If false, the value of
getNumberOfBytes() simply tells us how many bytes must be read in order to read the entire field.