private int offset(long pos) {
      return (int) (pos % bufferSize);
    }
Iterator to fetch ByteBuffers from offset with given length in this big logical array.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferArray.java