Microsoft.Research.Naiad.Serialization NamespaceNaiad Help

[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

  ClassDescription
Public classAutoSerialization
Factory class for serialization code generators.
Public classCheckpointRestoreExtensionMethods
A collection of extension methods that facilitate checkpointing and restoring standard data structures.
Public classCustomSerialization
Static factory class for making custom serializers
Public classDeserializers
Deserializer implementations for primitive types.
Public classNaiadReader
Reads data written in the Naiad message format from a Stream.
Public classNaiadReaderTElement
Reads elements of a specific type written in the Naiad message format from a Stream.
Public classNaiadWriter
Writes data in the Naiad message format to a Stream.
Public classNaiadWriterTElement
Writes elements of a specific type in the Naiad message format to a Stream.
Public classSerializedMessage
Represents a serialized message, containing a MessageHeader and an optional payload.
Public classSerializers
Serializer implementations for primitive types.
Structures

  StructureDescription
Public structureMessageHeader
Represents the header of a serialized message.
Public structureRecvBuffer
Represents a growable segment of an array, used for deserialization.
Public structureSubArrayTElement
Represents a growable segment of an array, used for serialization.
Interfaces

  InterfaceDescription
Public interfaceCode exampleCustomSerializationTElement
Encapsulates the custom code for serializing and deserializing objects of type TElement.
Public interfaceIFlushable
Denotes a serializer type that can be flushed
Public interfaceNaiadSerializationTElement
Represents a serializer and deserializer for a particular element type.
Public interfaceSerializationFormat
Represents a particular format for serialization and deserialization.
Enumerations

  EnumerationDescription
Public enumerationSerializedMessageType
Represents the type of payload in a serialized message.