Skip to content

arrayBufferToHex

arrayBufferToHex(data): string

Defined in: obsidian.d.ts:429

ArrayBuffer

string

arrayBufferToHex(data): string

Defined in: src/obsidian/augmentations/functions.d.ts:51

Converts an ArrayBuffer to a hex string.

ArrayBuffer

string

The hex string.

console.log(arrayBufferToHex(new Uint8Array([1,2,3]).buffer)); // 010203