Handbook
Glossary
add-checksum-stream ( checksum-state stream -- checksum-state )
Factor handbook
»
Input and output
»
Checksums
Prev:
add-checksum-bytes ( checksum-state data -- checksum-state )
Next:
add-checksum-lines ( checksum-state lines -- checksum-state )
Vocabulary
checksums
Inputs
checksum-state
an
object
stream
an
object
Outputs
checksum-state
an
object
Definition
USING:
io
;
IN:
checksums
:
add-checksum-stream
( checksum-state stream -- checksum-state )
[
[
add-checksum-bytes
]
each-block
]
with-input-stream
;