Interface for reading blocks.
IndexedBytes running on an immutable array of bytes on the range [offset, offset+length).
IndexedBytes running on an immutable array of bytes on the range [offset, offset+length). After calling, change *nothing* in buf.
Iterator over a BufferIndexedBytes
A wrapper for Iterator that counts calls to next.
A wrapper for Iterator that counts calls to next.
Iterator.zipWithIndex is not a good substitute, because it requires an extra call to Iterator.next -- which fails if the iterator is done and will also prevent the next parser from running..
Iterator over elements of an index block.
Iterator over elements of an index block. No "random" (O(log n)) access provided, just iteration over keys and values.
Interface for reading blocks. This is for reading storage with some random-access capabilities.