presto-orc/src/main/java/io/prestosql/orc/ChunkedSliceOutput.java/ChunkedSliceOutput/writeInt
class ChunkedSliceOutput:    @Override
    public void writeInt(int value)
    {
        ensureWritableBytes(SIZE_OF_INT);
        slice.setInt(bufferPosition, value);
        bufferPosition += SIZE_OF_INT;
    }