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