Package | Description |
---|---|
org.jlab.coda.hipo |
Modifier and Type | Field and Description |
---|---|
protected RecordHeader |
Reader.firstRecordHeader
First record's header.
|
Modifier and Type | Method and Description |
---|---|
RecordHeader |
Reader.getFirstRecordHeader()
Get the first record header from reading a file/buffer.
|
RecordHeader |
RecordInputStream.getHeader()
Get the header of this record.
|
RecordHeader |
RecordOutputStream.getHeader()
Get the general header of this record.
|
RecordHeader |
RecordHeader.setCompressedDataLength(int length)
Set the compressed data length in bytes and words and the padding.
|
RecordHeader |
RecordHeader.setCompressionType(CompressionType type)
Set the compression type.
|
RecordHeader |
RecordHeader.setDataLength(int length)
Set the uncompressed data length in bytes and words and the padding.
|
RecordHeader |
RecordHeader.setEntries(int n)
Set the number of events or index entries.
|
RecordHeader |
RecordHeader.setHeaderLength(int length)
Set the this header's length in bytes and words.
|
(package private) RecordHeader |
RecordHeader.setHeaderType(HeaderType type)
Set this header's type.
|
RecordHeader |
RecordHeader.setIndexLength(int length)
Set the length of the index array in bytes.
|
RecordHeader |
RecordHeader.setLength(int length)
Set the record length in bytes and words.
|
RecordHeader |
RecordHeader.setPosition(long pos)
Set the position of this record in a file.
|
RecordHeader |
RecordHeader.setRecordNumber(int num)
Set the record number.
|
RecordHeader |
RecordHeader.setUserHeaderLength(int length)
Set the user-defined header's length in bytes and words and the padding.
|
RecordHeader |
RecordHeader.setUserRegisterFirst(long reg)
Set the first, 64-bit, user-defined register.
|
RecordHeader |
RecordHeader.setUserRegisterSecond(long reg)
Set the second, 64-bit, user-defined register.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordHeader.copy(RecordHeader head)
Copy the contents of the arg into this object.
|
static java.nio.ByteBuffer |
Writer.createRecord(java.lang.String dictionary,
byte[] firstEvent,
java.nio.ByteOrder byteOrder,
FileHeader fileHeader,
RecordHeader recordHeader)
Create a buffer representation of a record
containing dictionary and/or first event.
|
(package private) static int |
RecordInputStream.uncompressRecord(java.nio.ByteBuffer srcBuf,
int srcOff,
java.nio.ByteBuffer dstBuf,
boolean arrayBacked,
RecordHeader header)
Uncompress the data of a record from the source buffer at the given offset
into the destination buffer.
|
Constructor and Description |
---|
RecordHeader(RecordHeader header)
Constructor which copies another header.
|