public object Deserialize(Stream stream) { var reader = new StreamBinaryReader(stream, false, true); var ctx = new MyBinarySerializerReader(reader); var obj = ctx.ReadInstance(); _lastLog = ctx.GetDebugLog(); return(obj); }
public MyBinarySerializerReader(StreamBinaryReader reader) { _reader = reader; }