Skip to content

BinarySerialization.Deserialize<TValue> method

A helper method to deserialize objects with BinaryReader. Creates a memory stream and a BinaryReader on it, and invokes the callback specified.

public static TValue Deserialize<TValue>(byte[] input, Func<BinaryReader, TValue> deserialize)
parameter description
input Input array.
deserialize Deserialization delegate.

See Also