checksum-stream ( stream checksum -- value )
Factor handbook » Input and output » Checksums

Prev:checksum-bytes ( bytes checksum -- value )
Next:checksum-lines ( lines checksum -- value )


Vocabulary
checksums

Inputs
streaman input stream
checksuma checksum specifier


Outputs
valuea byte-array


Generic word contract
Computes the checksum of all data read from the stream.

Side effects
Modifies stream

Definition

GENERIC: checksum-stream ( stream checksum -- value )


Methods