public abstract class StandardRecord extends Record
| Constructor and Description |
|---|
StandardRecord() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
getDataSize() |
int |
getRecordSize()
gives the current serialized size of the record.
|
int |
serialize(int offset,
byte[] data)
Write the data content of this BIFF record including the sid and record length.
The subclass must write the exact number of bytes as reported by RecordBase.getRecordSize()} |
protected abstract void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
protected abstract int getDataSize()
public final int getRecordSize()
RecordBasegetRecordSize in class RecordBasepublic final int serialize(int offset,
byte[] data)
RecordBase.getRecordSize()}serialize in class RecordBaseoffset - to begin writing atdata - byte array containing instance dataprotected abstract void serialize(LittleEndianOutput out)
RecordBase.getRecordSize()} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).Copyright © 2020. All rights reserved.