Functionsยง
- copy_
and_ hash - Copy data from
reader
towriter
, along the way hashing usingH
which must implement Digest. Return value is the same as forstd::io::copy
except that it returns a 2 tuple of the bytes copied, and the hash value, or anio::Error
.