buffer icon indicating copy to clipboard operation
buffer copied to clipboard

Expose `Buffer#utf8Slice`

Open yume-chan opened this issue 1 year ago • 0 comments
trafficstars

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)

yume-chan avatar Aug 29 '24 06:08 yume-chan