Exemplo n.º 1
0
 public BinaryContainerStorageOnMemory(SerializerStorage <BinaryStream> serializers = null)
     : base(serializers)
 {
 }
Exemplo n.º 2
0
 public BinaryContainerStorageOnFiles(SerializerStorage <BinaryStream> serializers = null, string prefix = "../")
     : base(serializers)
 {
     StoragePathPrefix = prefix;
 }
Exemplo n.º 3
0
 public BinaryContainer(BinaryStream stream, SerializerStorage <BinaryStream> storage)
     : base(stream, storage)
 {
 }
 public AContainerStorage(SerializerStorage <TStream> serializers)
 {
     _serializers = serializers ?? SerializerStorage <TStream> .Default;
 }
Exemplo n.º 5
0
        private const int TABLE_INFO_SIZE = 16; // in bytes

        public BinaryContainer(int size, SerializerStorage <BinaryStream> storage)
            : base(new BinaryStream(size == 0 ? new MemoryStream() : new MemoryStream(size), true), storage)
        {
        }