public static MappedByteBuffer[] mapFile(FileChannel readChannel, long expectedLength, long segmentBytes,
    boolean madvise) throws IOException {
    return mapFile(readChannel, expectedLength, segmentBytes, madvise, i -> true);
  }
Same as {@link #mapFile(FileChannel, long, long, boolean, IntPredicate)} except map every segment without testing
that it has data first.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/ByteBufferUtil.java