public abstract class RecordBase extends Object
Record
and RecordAggregate
Constructor and Description |
---|
RecordBase() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getRecordSize()
gives the current serialized size of the record.
|
abstract int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
public abstract int serialize(int offset, byte[] data)
offset
- to begin writing atdata
- byte array containing instance datapublic abstract int getRecordSize()
Copyright © 2020. All rights reserved.