internal static PooledUnsafeDirectByteBuffer NewInstance(int maxCapacity)
        {
            PooledUnsafeDirectByteBuffer buf = Recycler.Take();

            buf.Reuse(maxCapacity);
            return(buf);
        }
Пример #2
0
 protected override PooledByteBuffer <byte[]> NewByteBuf(int maxCapacity) =>
 PooledUnsafeDirectByteBuffer.NewInstance(maxCapacity);