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