hashing: read -> bytesRead