Beispiel #1
0
 public PoolIOStream(PoolBufferAllocator allocator, IChunk chunk, int offset, int initlen)
 {
     _readerindex = 0;
     _writerindex = initlen;
     _allocator   = allocator;
     _chunk       = chunk;
     _chunkoffset = offset;
 }
Beispiel #2
0
 public PoolIOStream(PoolBufferAllocator allocator, IChunk chunk, int offset) :
     this(allocator, chunk, offset, 0)
 {
 }