| WritableUtilityCreateDeserializerT Method |
Uses reflection to create a function that deserializes an object from a
BinaryReader; this function
can be used in the object's
Read(BinaryReader) implementation.
Namespace:
Ookii.Jumbo.IO
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public static Action<T, BinaryReader> CreateDeserializer<T>()
Public Shared Function CreateDeserializer(Of T) As Action(Of T, BinaryReader)
public:
generic<typename T>
static Action<T, BinaryReader^>^ CreateDeserializer()
static member CreateDeserializer : unit -> Action<'T, BinaryReader>
Type Parameters
- T
- The type of the object to deserialize.
Return Value
Type:
ActionT,
BinaryReaderA
ActionT1, T2 delegate to a method that deserializes the object.
Remarks
The function returned should only be used to deserialize data created by a function returned by CreateSerializerT.
See Also