checksum-file ( path checksum -- value )
Factor handbook > Input and output > Checksums

Prev:checksum-lines ( lines checksum -- value )
Next:initialize-checksum-state ( checksum -- checksum-state )


Vocabulary
checksums

Inputs and outputs
patha pathname specifier
checksuma checksum specifier
valuea byte-array


Word description
Computes the checksum of all data in a file.

Examples
USING: checksums checksums.crc32 prettyprint ; "resource:LICENSE.txt" crc32 checksum-file .
B{ 100 139 199 92 }


Definition