presto-rcfile/src/main/java/io/prestosql/rcfile/ChunkedSliceOutput.java/ChunkedSliceOutput/writeZero
class ChunkedSliceOutput:    @Override
    public void writeZero(int length)
    {
        checkArgument(length >= 0, "length must be greater than or equal to 0");

        while (length > 0) {
            int batch = tryEnsureBatchSize(length);
            Arrays.fill(buffer, bufferPosition, bufferPosition + batch, (byte) 0);
            bufferPosition += batch;
            length -= batch;
        }
    }