Пример #1
0
 public Packer(Serializers serializers, System.IO.MemoryStream stream)
 {
     this.meta        = Meta.Create();
     this.serializers = serializers;
     this.stream      = stream;
 }
Пример #2
0
 public static byte[] Pack <T>(T obj, Serializers customSerializers)
 {
     return(Serializer.Pack(obj, obj.GetType(), customSerializers));
 }