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

Expose Buffer#utf8Slice #362

Open
yume-chan opened this issue Aug 29, 2024 · 0 comments
Open

Expose Buffer#utf8Slice #362

yume-chan opened this issue Aug 29, 2024 · 0 comments

Comments

@yume-chan
Copy link

yume-chan commented Aug 29, 2024

I'm using this package (version 6.0.3) to run undici in browser.

Undici contains a call to Buffer#utf8Slice:

https://github.com/nodejs/undici/blob/cab60114da8bf9acc6628daff2ab58f06856bbc9/lib/api/readable.js#L328

Admittedly it's not in the documentation, but as it's in Undici and not Node.js core repository, I guess it could be considered part of the public interface?

Can this package be updated to expose that? (I'm monkey patching this library to do that so it's not an urgency)

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

No branches or pull requests

1 participant