Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static class: RT.Serialization.ClassifyBinary

Summary

Offers a convenient way to use Classify to serialize objects using a compact binary format.

Static methods

object
Deserialize(Type type, byte[] binaryData, ClassifyOptions options = null)
Reconstructs an object of the specified type from the specified serialized form.
T
Deserialize<T>(byte[] binaryData, ClassifyOptions options = null)
object
DeserializeFile(Type type, string filename, ClassifyOptions options = null)
Reconstructs an object of the specified type from the specified file.
T
DeserializeFile<T>(string filename, ClassifyOptions options = null)
void
DeserializeFileIntoObject(string filename, object intoObject, ClassifyOptions options = null)
Reconstructs an object from the specified file by applying the values to an existing instance of the desired type. The type of object is inferred from the object passed in.
void
DeserializeIntoObject<T>(byte[] binaryData, T intoObject, ClassifyOptions options = null)
Reconstructs an object of the specified type from the specified serialized form by applying the values to an existing instance of the type.
byte[]
Serialize(Type saveType, object saveObject, ClassifyOptions options = null)
Converts the specified object into a serialized form.
byte[]
Serialize<T>(T saveObject, ClassifyOptions options = null)
void
SerializeToFile(Type saveType, object saveObject, string filename, ClassifyOptions options = null)
Stores the specified object in a file with the given path and filename.
void
SerializeToFile<T>(T saveObject, string filename, ClassifyOptions options = null)