public interface BinarySerializer
Binarylizable
in case if the class
cannot be changed directly.
Binary serializer can be configured for all binary objects via
BinaryConfiguration.getSerializer()
method, or for a specific
binary type via BinaryTypeConfiguration.getSerializer()
method.
Modifier and Type | Method and Description |
---|---|
void |
readBinary(Object obj,
BinaryReader reader)
Reads fields from provided reader.
|
void |
writeBinary(Object obj,
BinaryWriter writer)
Writes fields to provided writer.
|
void writeBinary(Object obj, BinaryWriter writer) throws BinaryObjectException
obj
- Empty object.writer
- Binary object writer.BinaryObjectException
- In case of error.void readBinary(Object obj, BinaryReader reader) throws BinaryObjectException
obj
- Empty objectreader
- Binary object reader.BinaryObjectException
- In case of error.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024