Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix read byte chunks #29

Merged
merged 2 commits into from Jun 23, 2022
Merged

Fix read byte chunks #29

merged 2 commits into from Jun 23, 2022

Conversation

Primetalk
Copy link
Owner

Interface Reader allows simultaneous usage of both cnt and error in the result.
ReadByteChunks now correctly handles the situation when some bytes were returned simultaneously with an error/EOF.

Interface `Reader` allows simultaneous usage of
both cnt and error in the result.
ReadByteChunks now correctly handles the EOF situation
when some bytes were returned simultaneously.
@Primetalk Primetalk self-assigned this Jun 23, 2022
@codecov
Copy link

codecov bot commented Jun 23, 2022

Codecov Report

Merging #29 (dd9f637) into master (eabfffd) will increase coverage by 0.04%.
The diff coverage is 78.57%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   83.58%   83.62%   +0.04%     
==========================================
  Files          30       30              
  Lines        1066     1069       +3     
==========================================
+ Hits          891      894       +3     
- Misses        155      156       +1     
+ Partials       20       19       -1     
Impacted Files Coverage Δ
text/read.go 74.24% <78.57%> (+1.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eabfffd...dd9f637. Read the comment docs.

@Primetalk Primetalk merged commit 3ed240e into master Jun 23, 2022
@Primetalk Primetalk deleted the bugfix/read-byte-chunks branch June 23, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant