ByteBuffer newPacketBuffer(SSLEngine engine) {
        return newBuffer(engine.getSession().getPacketBufferSize());
    }
Enumeration that provides allocation of direct or heap buffers.
benchmark-base/src/main/java/org/conscrypt/BufferType.java