Skip to main content

interface Uint8ArrayConstructor

unstable

Methods #

#fromBase64(
string: string,
options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?:
"loose"
| "strict"
| "stop-before-partial"
; }
,
): Uint8Array<ArrayBuffer>

Creates a new Uint8Array object from a base64 string.

MDN

#fromHex(string: string): Uint8Array<ArrayBuffer>

Creates a new Uint8Array object from a hex string.

MDN

Did you find what you needed?

Privacy policy