Uint8ArrayConstructor
interface · experimental
interface Uint8ArrayConstructorMethods
fromBase64
fromBase64(string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial" }): Uint8Array<ArrayBuffer>Creates a new Uint8Array object from a base64 string.
fromHex
fromHex(string: string): Uint8Array<ArrayBuffer>Creates a new Uint8Array object from a hex string.