toHex
Writes bytes as lowercase hexadecimal, two digits per byte. For content keys, hashes and debugging output.
Available since v3.1.10
Import
Section titled “Import”Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | The bytes |
Returns
Section titled “Returns”string — The hex string, twice as long as bytes
Examples
Section titled “Examples”Hex string of bytes
Section titled “Hex string of bytes”Two lowercase digits per byte.
