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.
|
protected abstract void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
protected abstract int getDataSize()
public final int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
public final int serialize(int offset, byte[] data)
RecordBase.getRecordSize()
}serialize
in class RecordBase
offset
- 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 © 2005-2010 Potix Corporation. All Rights Reserved.