@Override
            public ByteBuffer nioBuffer() {
                return buffer;
            }
Creates a new {@link AllocatedBuffer} that is backed by the given {@link ByteBuffer}.
common/src/main/java/org/conscrypt/AllocatedBuffer.java