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