public final class TagSegmentHeader extends BaseStructureHeader
EvioTagSegment). It does not contain the raw data, just the
header.| Constructor and Description |
|---|
TagSegmentHeader()
Null constructor.
|
TagSegmentHeader(int tag,
DataType dataType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeaderLength()
Get the length of the structure's header in ints.
|
java.lang.String |
toString()
Obtain a string representation of the bank header.
|
int |
write(java.nio.ByteBuffer byteBuffer)
Write myself out a byte buffer.
|
byteValue, clone, getDataType, getDataTypeName, getDataTypeValue, getLength, getNumber, getPadding, getTag, setDataType, setLength, setNumber, setTag, shortValuepublic TagSegmentHeader()
public TagSegmentHeader(int tag,
DataType dataType)
tag - the tag for the tag segment header.dataType - the data type for the content of the tag segment.public int getHeaderLength()
getHeaderLength in class BaseStructureHeaderpublic java.lang.String toString()
toString in class BaseStructureHeaderpublic int write(java.nio.ByteBuffer byteBuffer)
byteBuffer - the byteBuffer to write to.