presto-orc/src/main/java/io/prestosql/orc/LazySliceInput.java/LazySliceInput/LazySliceInput
class LazySliceInput:    public LazySliceInput(long globalLength, Supplier<FixedLengthSliceInput> loader)
    {
        checkArgument(globalLength > 0, "globalLength must be at least 1");
        checkArgument(globalLength <= Integer.MAX_VALUE, "globalLength must be less than 2GB");
        this.globalLength = toIntExact(globalLength);
        this.loader = requireNonNull(loader, "loader is null");
    }