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