Skip navigation links

Package mendel.serialize

Handles serializing/deserializing data to/from the native Mendel binary format.

See: Description

Package mendel.serialize Description

Handles serializing/deserializing data to/from the native Mendel binary format. This package is similar to the Java Externalizable interface, but has some convenience features to help ease manual serialization.

Classes that can be serialized using this framework should implement the ByteSerializable interface, which mandates a serialize() method that converts the implementing class to a binary representation. Rather than enforcing an empty constructor and a deserialize() method, implementing classes are expected to have a constructor that takes a single SerializationInputStream and uses it to deserialize from the binary format and initialize the object.

Author:
malensek
Skip navigation links