@Override public ByteBuf retain(int increment) { if (rootBuffer) { this.rootRefCnt.addAndGet(increment); } else { b.retain(increment); } return this; }
@Override public ByteBuf retain() { buf.retain(); return this; }
@Override public ByteBuf retain(int increment) { buf.retain(increment); return this; }