- readVarInt
Read a variable size int.
- appendMap
Append a map to the string builder, sorted by key.
- checkArgument
Throw an IllegalArgumentException if the argument is invalid.
- copyExcept
Copy the elements of an array, and remove one element.
- copyWithGap
Copy the elements of an array, with a gap.
- encodeLength
Convert the length to a length code 0..31. 31 means more than 1 MB.
- formatMessage
Format an error message.
- getCheckValue
Calculate a check value for the given integer. A check value is mean to verify
the data is consisten
- getErrorCode
Get the error code from an exception message.
- getFletcher32
Calculate the Fletcher32 checksum.
- getPageChunkId
Get the chunk id from the position.
- getPageMaxLength
Get the maximum length for the given code. For the code 31, PAGE_LARGE is
returned.