public final class BankHeader extends BaseStructureHeader
EvioBank
). It does not contain the raw data, just the
header. Note: since an "event" is really just the outermost bank, this is also the header for an
EvioEvent
.Constructor and Description |
---|
BankHeader()
Null constructor.
|
BankHeader(int tag,
DataType dataType,
int num)
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, shortValue
public BankHeader()
public BankHeader(int tag, DataType dataType, int num)
tag
- the tag for the bank header.dataType
- the data type for the content of the bank.num
- sometimes, but not necessarily, an ordinal enumeration.public int getHeaderLength()
getHeaderLength
in class BaseStructureHeader
public java.lang.String toString()
toString
in class BaseStructureHeader
public int write(java.nio.ByteBuffer byteBuffer)
byteBuffer
- the byteBuffer to write to.