public void Init(BufferBlock bb, SmallBufferPool <T> pool) { this.ReturnBlock(); this.bufferBlock = bb; this.poolRef = pool; this.bufferRef = pool.buffer; }
public void SetInvalid() { this.bufferBlock.blockIndex = -1; this.poolRef = null; this.bufferRef = null; }
public void UnInit() { this.poolRef = null; this.bufferRef = null; }