proposal-arraybuffer-base64 icon indicating copy to clipboard operation
proposal-arraybuffer-base64 copied to clipboard

TC39 proposal for Uint8Array<->base64/hex

Results 10 proposal-arraybuffer-base64 issues
Sort by recently updated
recently updated
newest added

The excellent [notes](https://github.com/tc39/test262/pull/3994#issuecomment-1997745956) from @anba on additional tests made me realize that XS does not implement these methods as expected by the spec text. > `Uint8Array.prototype.setFrom{Base64,Hex}` doesn't modify the typed...

Fixes https://github.com/tc39/proposal-arraybuffer-base64/issues/57. One difficulty is that in the case of an error there's no good way to know how many bytes were read/written. I don't think that's a problem we...

This proposal achieved stage 3 at the February 2024 meeting. This is a tracking issue for getting stage 4. - [ ] committee consensus - [ ] open PR to...

Split out out from https://github.com/tc39/proposal-arraybuffer-base64/pull/33. Won't be in this proposal unless implementation or user feedback demonstrates need during stage 3.

FromHex currently requires that the number of characters is not odd, even when the trailing characters are ignored, whereas FromBase64 ignores all trailing characters. Suggested change to match FromBase64: ```diff...

Hello: I noticed the polyfill code in the `playground` directory — which appears to serve as documentation and as an opportunity for exploration. Is there any interest in including type...

Is it an intended API design that after `base64url` alphabet `toBase64()` one needs to remove padding with string manipulation if they need to? I would expect a padding option in...

Hi, I'm playing with this new api, and I thing it could be great to have an `offset` argument on the `setFromBase64/Hex` methods: **Issue:** [on mdn](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/setFromHex#setting_data_at_a_specific_offset) ```ts const uint8Array =...

This might be an addon proposal as this proposal has already reached implementations. When it comes to comparision and sorting, base64 does not preserve the sort order from the original...

Would be useful for deterministic or multibase-adjacent usage where there is clear separation between `base64` (which omits padding) and `base64pad` (which does include padding). Right now the only way to...