toHex()
SIP Protocol API Reference v0.7.2
SIP Protocol API Reference / toHex
Function: toHex()
Section titled “Function: toHex()”toHex(
value):`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:9927
Convert number to hex string with 0x prefix
Parameters
Section titled “Parameters”number | bigint
Returns
Section titled “Returns”`0x${string}`