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

NOMERGE: Use Uint8Array instead of Buffer everywhere #19

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

Conversation

chrisnojima
Copy link

@chrisnojima chrisnojima commented Oct 25, 2023

This is an MR to replace Buffer w/ Uint8Array. We don't have native Buffer support on all platforms on the keybase side so instead of doing that polyfill we instead switch to Uint8Array and just polyfill textdecoder/etc

Also fixes up tls errors in a test. Disables a retry test which fails for me also on master
Does not attempt to fixup purepack, so assumes @msgpack/msgpack

n += b.length;
}
first_pos = num_bufs - 1;
this._bufs[first_pos] = ret;
this._bufs = this._bufs.slice(first_pos);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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