Iterator over all SSTable entries
Mix bits of CRC32C to match its use in RocksDB SSTables.
Mix bits of CRC32C to match its use in RocksDB SSTables. (That format includes CRCs inside checksummed data, meaning further CRCs of that block can fail to detect anything; defining this mixing protects that protocol. We need to follow the format regardless of whether or not using CRCs like this is justified!)
Return an int32 with (fixed-width, 4 byte) little-endian encoding from bytes.
Verify the block checksum and return the sequence of its contents.
Verify the block checksum and return the sequence of its contents. block should be the entire contents of a BlockHandle plus blockTrailerLen (5) bytes.
Uses a ByteBuffer so we can use whatever efficient CRC32C implementation is available on the JVM.
TODO(ariels): decompression.