DataSerializer MembersNetworkComms.Net Help
The DataSerializer type exposes the following members.
Constructors

  NameDescription
Protected methodDataSerializer
Initializes a new instance of the DataSerializer class
Back to Top
Methods

  NameDescription
Public methodDeserialiseDataObject T ( Byte )
Converts array of bytes previously serialized to an object of provided type. Assumes no data processors.
Public methodDeserialiseDataObject T (MemoryStream)
Converts a memory stream containing bytes previously serialized to an object of provided type. Assumes no data processors.
Public methodDeserialiseDataObject T ( Byte , List DataProcessor , Dictionary String, String )
Converts bytes previously serialized and processed using data processors to an object of provided type
Public methodDeserialiseDataObject T (MemoryStream, List DataProcessor , Dictionary String, String )
Converts a memory stream containing bytes previously serialized and processed using data processors to an object of provided type
Protected methodDeserialiseDataObjectInt
Deserialises the data in a stream to an object of the specified type using any relevant provided options
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodStatic memberGetInstance T 
Helper function to allow a DataSerializer to be implemented as a singleton. Returns the singleton instance generated by the DPSManager
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSerialiseDataObject T (T)
Converts objectToSerialize to an array of bytes. Uses no data processors.
Public methodSerialiseDataObject T (T, List DataProcessor , Dictionary String, String )
Converts objectToSerialize to an array of bytes using the data processors and options provided.
Protected methodSerialiseDataObjectInt
Serialises an object to a stream using any relevant options provided
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyIdentifier
Returns a unique identifier for the serializer type. Used in automatic serialization/compression detection
Back to Top
See Also