internal static PooledUnsafeDirectByteBuffer NewInstance(int maxCapacity) { PooledUnsafeDirectByteBuffer buf = Recycler.Take(); buf.Reuse(maxCapacity); return(buf); }
protected override PooledByteBuffer <byte[]> NewByteBuf(int maxCapacity) => PooledUnsafeDirectByteBuffer.NewInstance(maxCapacity);