Method ChecksumEntireFile
ChecksumEntireFile(IndexInput)
Clones the provided input, reads all bytes from the file, and calls CheckFooter(ChecksumIndexInput)
Note that this method may be slow, as it must process the entire file. If you just need to extract the checksum value, call RetrieveChecksum(IndexInput).
Declaration
public static long ChecksumEntireFile(IndexInput input)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | input |
Returns
Type | Description |
---|---|
System.Int64 |