The DataSerializer type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
DataSerializer | Initializes a new instance of the DataSerializer class |
Methods
Name | Description | |
---|---|---|
DeserialiseDataObject T ( Byte ) |
Converts array of bytes previously serialized to an object of provided type. Assumes no data processors.
| |
DeserialiseDataObject T (MemoryStream) |
Converts a memory stream containing bytes previously serialized to an object of provided type. Assumes no data processors.
| |
DeserialiseDataObject T ( Byte , List DataProcessor , Dictionary String, String ) |
Converts bytes previously serialized and processed using data processors to an object of provided type
| |
DeserialiseDataObject 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
| |
DeserialiseDataObjectInt |
Deserialises the data in a stream to an object of the specified type using any relevant provided options
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInstance T |
Helper function to allow a DataSerializer to be implemented as a singleton. Returns the singleton instance generated by the DPSManager | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerialiseDataObject T (T) |
Converts objectToSerialize to an array of bytes. Uses no data processors.
| |
SerialiseDataObject T (T, List DataProcessor , Dictionary String, String ) |
Converts objectToSerialize to an array of bytes using the data processors and options provided.
| |
SerialiseDataObjectInt |
Serialises an object to a stream using any relevant options provided
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Identifier |
Returns a unique identifier for the serializer type. Used in automatic serialization/compression detection
|
See Also