istextorbinary icon indicating copy to clipboard operation
istextorbinary copied to clipboard

Make it compatible with plain Uint8Array

Open jrvidal opened this issue 9 months ago • 0 comments

Instead of relying of Node polyfills on the browser, it'd be nice if we could use this library directly on instances of Uint8Array. I see we would need to work around of the lack of toString(<encoding>). Would you accept a patch to adapt that logic?

jrvidal avatar Apr 02 '25 13:04 jrvidal