public interface EscherSerializationListener
|Modifier and Type||Method and Description|
Fired after a record has been serialized.
Fired before a given escher record is serialized.
void beforeRecordSerialize(int offset, short recordId, EscherRecord record)
offset- The position in the data array at which the record will be serialized.
recordId- The id of the record about to be serialized.
record- The record to be serialized
void afterRecordSerialize(int offset, short recordId, int size, EscherRecord record)
offset- The position of the end of the serialized record + 1
recordId- The id of the record about to be serialized
size- The number of bytes written for this record. If it is a container record then this will include the size of any included records.
record- The record which was serialized
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.