Beispiel #1
0
 public object DeserializeAs(Stream stream, Type type)
 {
     using (LiteBinaryReader reader = new LiteBinaryReader(stream, Encoding.Default, _serializationContext))
     {
         return(reader.ReadObjectAs(type));
     }
 }