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);
        }
Beispiel #2
0
 public MyBinarySerializerReader(StreamBinaryReader reader)
 {
     _reader = reader;
 }