Skip to main content

Module io

Module io 

Source
Available on crate feature async only.
Expand description

Helpers that calcutate the hash of the data written and count the number of bytes written.

Functionsยง

copy_buf_hashed
Asynchronously copies the entire contents of a reader into a writer while hashing.
copy_buf_sha256
Asynchronously copies the entire contents of a reader into a writer while hashing.
copy_hashed
Asynchronously copies the entire contents of a reader into a writer while hashing.
copy_sha256
Asynchronously copies the entire contents of a reader into a writer while hashing.