public abstract class RecordBase
extends java.lang.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 2021 The Apache Software Foundation or its licensors, as applicable.