Пример #1
0
 public ManualBufferedStream(Stream stream, BufferAllocator allocator, int bufferSize)
 {
     _s          = stream;
     _allocator  = allocator;
     _bufferSize = bufferSize;
 }
Пример #2
0
 public ManualBufferedStream(Stream stream, BufferAllocator allocator)
     : this(stream, allocator, BufferAllocator.BlockSize)
 {
 }