Returns true when obj is the correct type for the DataType.
The default length of the DataType.
Converts the bytes in the ByteBuffer which represent the specified InfoElement to an object.
Converts the bytes in the ByteBuffer which represent the
specified InfoElement to an object. session is where buffer
was collected, and it is used to resolve the contents of
ListElements.
A reference to the DataTypes value that this class implements.
An optional maximum value for the DataType.
An optional minimum value for the DataType.
The name of the DataType.
Returns the number of bytes that toBuffer() would write to the
buffer, where len is the length of the InfoElement
according to the record's Template (that is, the length
member of the IEFieldSpecifier).
Returns the number of bytes that toBuffer() would write to the
buffer, where len is the length of the InfoElement
according to the record's Template (that is, the length
member of the IEFieldSpecifier). Returns VARLEN when obj
is not of the correct type for the DataType. This method is
useful primarily for determining the length of variable length
data types.
Converts the object into a stream of bytes and appends the bytes
to the ByteBuffer, where len is the length of the
InfoElement according to the record's Template (that is,
the length member of the IEFieldSpecifier).
Converts the object into a stream of bytes and appends the bytes
to the ByteBuffer, where len is the length of the
InfoElement according to the record's Template (that is,
the length member of the IEFieldSpecifier). When the
object is a SubTemplateList or SubTemplateMultiList, session
is used to find the Template given a Template ID.
The DataType trait defines members that must exist on classes that provide an implementation of each possible DataTypes value, where those values represent an IPFIX Information Element Data Types as defined in RFC5102.