Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read_bytes(): check if the request is satisfiable, change error msg
Resolve #61 The changed error message reflects more the meaning of the error and less the specific implementation. All we can tell now is how many bytes were requested and how many are actually _available_: we haven't necessarily "gotten" any bytes yet, so it should not say "but got only %d bytes".
- Loading branch information