Example #1
0
 BufferedInputStream(BufferManagerByteArray data, int bufferSize)
 {
     this.data = data;
     this.data.AddReference();
     this.innerStream = new MemoryStream(data.Bytes, 0, bufferSize);
 }
Example #2
0
 public BufferedInputStream(byte[] bytes, int bufferSize, InternalBufferManager bufferManager)
 {
     this.data        = new BufferManagerByteArray(bytes, bufferManager);
     this.innerStream = new MemoryStream(bytes, 0, bufferSize);
 }
 BufferedInputStream(BufferManagerByteArray data, int bufferSize)
 {
     this.data = data;
     this.data.AddReference();
     this.innerStream = new MemoryStream(data.Bytes, 0, bufferSize);
 }
 private BufferedInputStream(BufferManagerByteArray data, int bufferSize)
 {
     _data = data;
     _data.AddReference();
     _innerStream = new MemoryStream(data.Bytes, 0, bufferSize);
 }
 public BufferedInputStream(byte[] bytes, int bufferSize, InternalBufferManager bufferManager)
 {
     this.data = new BufferManagerByteArray(bytes, bufferManager);
     this.innerStream = new MemoryStream(bytes, 0, bufferSize);
 }