22
33=== toFromHexBase64.ts ===
44const arr1 = Uint8Array.fromBase64("AAAAAA==");
5- >arr1 : Uint8Array<ArrayBufferLike >
6- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7- >Uint8Array.fromBase64("AAAAAA==") : Uint8Array<ArrayBufferLike >
8- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
9- >Uint8Array.fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array
10- > : ^ ^^ ^^ ^^^ ^^^^^
5+ >arr1 : Uint8Array<ArrayBuffer >
6+ > : ^^^^^^^^^^^^^^^^^^^^^^^
7+ >Uint8Array.fromBase64("AAAAAA==") : Uint8Array<ArrayBuffer >
8+ > : ^^^^^^^^^^^^^^^^^^^^^^^
9+ >Uint8Array.fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array<ArrayBuffer>
10+ > : ^ ^^ ^^ ^^^ ^^^^^
1111>Uint8Array : Uint8ArrayConstructor
1212> : ^^^^^^^^^^^^^^^^^^^^^
13- >fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array
14- > : ^ ^^ ^^ ^^^ ^^^^^
13+ >fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array<ArrayBuffer>
14+ > : ^ ^^ ^^ ^^^ ^^^^^
1515>"AAAAAA==" : "AAAAAA=="
1616> : ^^^^^^^^^^
1717
1818const arr2 = Uint8Array.fromBase64("AAAAAA", { alphabet: "base64url" });
19- >arr2 : Uint8Array<ArrayBufferLike >
20- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
21- >Uint8Array.fromBase64("AAAAAA", { alphabet: "base64url" }) : Uint8Array<ArrayBufferLike >
22- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
23- >Uint8Array.fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array
24- > : ^ ^^ ^^ ^^^ ^^^^^
19+ >arr2 : Uint8Array<ArrayBuffer >
20+ > : ^^^^^^^^^^^^^^^^^^^^^^^
21+ >Uint8Array.fromBase64("AAAAAA", { alphabet: "base64url" }) : Uint8Array<ArrayBuffer >
22+ > : ^^^^^^^^^^^^^^^^^^^^^^^
23+ >Uint8Array.fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array<ArrayBuffer>
24+ > : ^ ^^ ^^ ^^^ ^^^^^
2525>Uint8Array : Uint8ArrayConstructor
2626> : ^^^^^^^^^^^^^^^^^^^^^
27- >fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array
28- > : ^ ^^ ^^ ^^^ ^^^^^
27+ >fromBase64 : (string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial"; }) => Uint8Array<ArrayBuffer>
28+ > : ^ ^^ ^^ ^^^ ^^^^^
2929>"AAAAAA" : "AAAAAA"
3030> : ^^^^^^^^
3131>{ alphabet: "base64url" } : { alphabet: "base64url"; }
@@ -36,16 +36,16 @@ const arr2 = Uint8Array.fromBase64("AAAAAA", { alphabet: "base64url" });
3636> : ^^^^^^^^^^^
3737
3838const arr3 = Uint8Array.fromHex("000000");
39- >arr3 : Uint8Array<ArrayBufferLike >
40- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
41- >Uint8Array.fromHex("000000") : Uint8Array<ArrayBufferLike >
42- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
43- >Uint8Array.fromHex : (string: string) => Uint8Array
44- > : ^ ^^ ^^^^^
39+ >arr3 : Uint8Array<ArrayBuffer >
40+ > : ^^^^^^^^^^^^^^^^^^^^^^^
41+ >Uint8Array.fromHex("000000") : Uint8Array<ArrayBuffer >
42+ > : ^^^^^^^^^^^^^^^^^^^^^^^
43+ >Uint8Array.fromHex : (string: string) => Uint8Array<ArrayBuffer>
44+ > : ^ ^^ ^^^^^
4545>Uint8Array : Uint8ArrayConstructor
4646> : ^^^^^^^^^^^^^^^^^^^^^
47- >fromHex : (string: string) => Uint8Array
48- > : ^ ^^ ^^^^^
47+ >fromHex : (string: string) => Uint8Array<ArrayBuffer>
48+ > : ^ ^^ ^^^^^
4949>"000000" : "000000"
5050> : ^^^^^^^^
5151
@@ -56,8 +56,8 @@ const encodedBase64_1 = arr1.toBase64();
5656> : ^^^^^^
5757>arr1.toBase64 : (options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean; }) => string
5858> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
59- >arr1 : Uint8Array<ArrayBufferLike >
60- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
59+ >arr1 : Uint8Array<ArrayBuffer >
60+ > : ^^^^^^^^^^^^^^^^^^^^^^^
6161>toBase64 : (options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean; }) => string
6262> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
6363
@@ -68,8 +68,8 @@ const encodedBase64_2 = arr1.toBase64({ alphabet: "base64" });
6868> : ^^^^^^
6969>arr1.toBase64 : (options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean; }) => string
7070> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
71- >arr1 : Uint8Array<ArrayBufferLike >
72- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
71+ >arr1 : Uint8Array<ArrayBuffer >
72+ > : ^^^^^^^^^^^^^^^^^^^^^^^
7373>toBase64 : (options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean; }) => string
7474> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
7575>{ alphabet: "base64" } : { alphabet: "base64"; }
@@ -86,8 +86,8 @@ const encodedBase64_3 = arr1.toBase64({ alphabet: "base64url", omitPadding: true
8686> : ^^^^^^
8787>arr1.toBase64 : (options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean; }) => string
8888> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
89- >arr1 : Uint8Array<ArrayBufferLike >
90- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
89+ >arr1 : Uint8Array<ArrayBuffer >
90+ > : ^^^^^^^^^^^^^^^^^^^^^^^
9191>toBase64 : (options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean; }) => string
9292> : ^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^
9393>{ alphabet: "base64url", omitPadding: true } : { alphabet: "base64url"; omitPadding: true; }
@@ -108,8 +108,8 @@ const encodedHex_1 = arr1.toHex();
108108> : ^^^^^^
109109>arr1.toHex : () => string
110110> : ^^^^^^
111- >arr1 : Uint8Array<ArrayBufferLike >
112- > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^
111+ >arr1 : Uint8Array<ArrayBuffer >
112+ > : ^^^^^^^^^^^^^^^^^^^^^^^
113113>toHex : () => string
114114> : ^^^^^^
115115
0 commit comments