public override IByteBuf CompactIfNecessary() { _buffer.CompactIfNecessary(); SetIndex(_buffer.ReaderIndex, _buffer.WriterIndex); return(this); }