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: chunk.Size excludes padding #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stevenh
Copy link

@stevenh stevenh commented Apr 6, 2023

Fix chunk.Size to match the definition, removing the additional padding byte which was previously present. This allows consumers to create cleaner parsing which relies on io.EOF instead of having to also check for a padding byte.

Also:

  • Fix some typos.
  • Clarify that IsFullyRead doesn't include the padding byte.
  • Fix godoc link on README.md.

Fixes #2

stevenh added 2 commits April 6, 2023 21:17
Fix chunk.Size to match the definition, removing the additional padding
byte which was previously present. This allows consumers to create
cleaner parsing which relies on io.EOF instead of having to also check
for a padding byte.

Also:
* Fix some typos.
* Clarify that IsFullyRead doesn't include the padding byte.

Fixes go-audio#2
Fix the godoc link in README.md.
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.

chunk.Size includes padding
1 participant