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

feat: support ascii encoding #2

Merged
merged 2 commits into from
Aug 7, 2020
Merged

Conversation

achingbrain
Copy link
Owner

For better or for worse, sometimes you want to covert between a Uint8Array and a string where each character of the string is created from the character code of the corresponding byte from the array.

Adds an ascii encoding which is similar to binary as used by node buffers.

It's not called binary as people confuse this with base2.

For better or for worse, sometimes you want to covert between a
Uint8Array and a string where each character of the string is
created from the character code of the corresponding byte from the
array.

Adds an `ascii` encoding which is similar to `binary` as used by
node buffers.

It's not called `binary` as people confuse this with `base2`.
@achingbrain achingbrain merged commit 098724d into master Aug 7, 2020
@achingbrain achingbrain deleted the feat/support-ascii-encoding branch August 7, 2020 11:16
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.

1 participant