presto-orc/src/main/java/io/prestosql/orc/OrcOutputBuffer.java/OrcOutputBuffer/getBufferCapacity
class OrcOutputBuffer:    @VisibleForTesting
    int getBufferCapacity()
    {
        return slice.length();
    }