See: Description
Interface | Description |
---|---|
ByteSerializable |
Describes an interface for classes that can be serialized to portable
byte form.
|
SimpleMap<K,V extends ByteSerializable> |
Defines a very basic serializable map that consists of Key, Value pairs
wherein the Key can be ascertained by the Value directly.
|
Class | Description |
---|---|
SerializationInputStream | |
SerializationOutputStream | |
Serializer |
This class provides convenience functions to make the Serialization and
Deserialization process easier.
|
Exception | Description |
---|---|
SerializationException |
Annotation Type | Description |
---|---|
ByteSerializable.Deserialize |
Annotates constructors used for creating new object instances from a
SerializationInputStream . |
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.