-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1907302 - Part 2: Write data up until error in Uint8Array.prototy…
…pe.setFrom{Base64,Hex} methods. r=spidermonkey-reviewers,dminor Change `FromHex` and `FromBase64` to accept a templated `Sink` parameter, which either appends to a `ByteVector` or directly into the target `TypedArrayObject`. `Uint8Array.prototype.setFrom{Base64,Hex}` now no longer have to allocate temporary space when processing the input string. Changes from: tc39/proposal-arraybuffer-base64#58 Depends on D216279 Differential Revision: https://phabricator.services.mozilla.com/D216280
- Loading branch information
Showing
2 changed files
with
78 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters