@Override
        ByteBuffer newBuffer(int size) {
            return ByteBuffer.allocateDirect(size);
        }
Enumeration that provides allocation of direct or heap buffers.
benchmark-base/src/main/java/org/conscrypt/BufferType.java