- writeFooter
Writes a codec footer, which records both a checksum algorithm ID and a
checksum. This footer can be
- checkHeader
Reads and validates a header previously written with
#writeHeader(DataOutput,String,int). When readi
- checksumEntireFile
Clones the provided input, reads all bytes from the file, and calls #checkFooter
Note that this met
- retrieveChecksum
Returns (but does not validate) the checksum previously written by #checkFooter.
- checkFooter
Validates the codec footer previously written by #writeFooter, optionally
passing an unexpected exce
- checkIndexHeader
Reads and validates a header previously written with
#writeIndexHeader(DataOutput,String,int,byte[],
- writeHeader
Writes a codec header, which records both a string to identify the file and a
version number. This h
- writeIndexHeader
Writes a codec header for an index file, which records both a string to identify
the format of the f
- footerLength
Computes the length of a codec footer.
- headerLength
Computes the length of a codec header.
- checkHeaderNoMagic
Like #checkHeader(DataInput,String,int,int) except this version assumes the
first int has already be
- checkIndexHeaderSuffix
Expert: just reads and verifies the suffix of an index header