Skip to content

Commit 5d22a42

Browse files
Elchi3ddbeck
andauthored
Add Uint8Array to/from base64 and hex (#2155)
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
1 parent a94df37 commit 5d22a42

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

features/uint8array-base64-hex.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Uint8Array base64 and hex conversion
2+
description: The `Uint8Array` object methods `fromBase64()`, `toBase64()`, and `setFromBase64()` convert to and from base64 strings. The `fromHex()`, `toHex()`, and `setFromHex()` methods convert to and from hex strings.
3+
spec: https://tc39.es/proposal-arraybuffer-base64/spec/
4+
group:
5+
- typed-arrays
6+
compat_features:
7+
- javascript.builtins.Uint8Array.fromBase64
8+
- javascript.builtins.Uint8Array.fromHex
9+
- javascript.builtins.Uint8Array.setFromBase64
10+
- javascript.builtins.Uint8Array.setFromHex
11+
- javascript.builtins.Uint8Array.toBase64
12+
- javascript.builtins.Uint8Array.toHex
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generated from: uint8array-base64-hex.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- javascript.builtins.Uint8Array.fromBase64
9+
- javascript.builtins.Uint8Array.fromHex
10+
- javascript.builtins.Uint8Array.setFromBase64
11+
- javascript.builtins.Uint8Array.setFromHex
12+
- javascript.builtins.Uint8Array.toBase64
13+
- javascript.builtins.Uint8Array.toHex

0 commit comments

Comments
 (0)