Serializer
Description
- Derived from
-
SerializerStream abstract
Default implementation of the ISerializable interface that uses an IDataStream for reading and writing binary data.
Public / Constants
Public / Methods
Clone
Clones the given serializable object.
The clone is created by first serializing the given object and then deserializing the clone from the binary data stream.
Deserialize
3 overloads
Deserializes an object from the given data stream.
- IOException
-
If an I/O error has occurred or if the data in stream in is malformed.
Deserializes an object from the given byte buffer.
ByteOrder.LittleEndian will be used for reading multi-byte values.
- IOException
-
If the data in buffer in is malformed.
Deserializes an object from the given file.
ByteOrder.LittleEndian will be used for reading multi-byte values.
- IOException
-
If an I/O error has occurred or if the data in file in is malformed.
Serialize
3 overloads
Serializes the given object.
- IOException
-
If an I/O error has occurred.
Serializes the given object.
ByteOrder.LittleEndian will be used for writing multi-byte values.
Serializes the given object to the given file.
ByteOrder.LittleEndian will be used for writing multi-byte values.
- IOException
-
If an I/O error has occurred.