Uint8Array
interface · experimental
interface Uint8ArrayMethods
toBase64
toBase64(options?: { alphabet?: "base64" | "base64url"; omitPadding?: boolean }): stringConverts this Uint8Array object to a base64 string.
setFromBase64
setFromBase64(string: string, options?: { alphabet?: "base64" | "base64url"; lastChunkHandling?: "loose" | "strict" | "stop-before-partial" }): { read: number; written: number }Populates this Uint8Array object with data from a base64 string.
toHex
toHex(): stringConverts this Uint8Array object to a hex string.
setFromHex
setFromHex(string: string): { read: number; written: number }Populates this Uint8Array object with data from a hex string.