[This is preliminary documentation and is subject to change.]
The Serialization namespace contains classes that support serialization of Naiad data for network and file I/O.
Classes
| Class | Description | |
|---|---|---|
| AutoSerialization |
Factory class for serialization code generators.
| |
| CheckpointRestoreExtensionMethods |
A collection of extension methods that facilitate checkpointing and restoring
standard data structures.
| |
| CustomSerialization |
Static factory class for making custom serializers
| |
| Deserializers |
Deserializer implementations for primitive types.
| |
| NaiadReader |
Reads data written in the Naiad message format from a Stream.
| |
| NaiadReaderTElement |
Reads elements of a specific type written in the Naiad message format from a Stream.
| |
| NaiadWriter |
Writes data in the Naiad message format to a Stream.
| |
| NaiadWriterTElement |
Writes elements of a specific type in the Naiad message format to a Stream.
| |
| SerializedMessage |
Represents a serialized message, containing a MessageHeader and an optional payload.
| |
| Serializers |
Serializer implementations for primitive types.
|
Structures
| Structure | Description | |
|---|---|---|
| MessageHeader |
Represents the header of a serialized message.
| |
| RecvBuffer |
Represents a growable segment of an array, used for deserialization.
| |
| SubArrayTElement |
Represents a growable segment of an array, used for serialization.
|
Interfaces
| Interface | Description | |
|---|---|---|
| CustomSerializationTElement |
Encapsulates the custom code for serializing and deserializing objects of
type TElement.
| |
| IFlushable |
Denotes a serializer type that can be flushed
| |
| NaiadSerializationTElement |
Represents a serializer and deserializer for a particular element type.
| |
| SerializationFormat |
Represents a particular format for serialization and deserialization.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| SerializedMessageType |
Represents the type of payload in a serialized message.
|