public static class StreamSerialization<T>
Public NotInheritable Class StreamSerialization(Of T)
generic<typename T>
public ref class StreamSerialization abstract sealed
Deserialization Method Implementation Options:
ReadFrom Instance signature: void ReadFrom(Stream)
ReadFrom Static object-based signature: static object ReadFrom(Stream)
ReadFrom Static strongly-typed signature: static T ReadFrom(Stream)
Note that deserialization of type also supports a constructor that accepts a standalone
Stream parameter.
Serialization Method Implementation Options:
WriteTo Instance signature: void WriteTo(Stream)
WriteTo Static object-based signature: static void WriteTo(Stream, object)
WriteTo Static strongly-typed signature: static void WriteTo(Stream, T)
Note that proper static method signatures can be defined for a class by implementing the ISupportStreamSerialization or ISupportStreamSerializationT interface, implicitly or explicitly.
GetReadMethod | Gets read deserialization method for type T. |
GetWriteMethod | Gets write serialization method for type T. |