Hex.size
Retrieves the size of a Hex.Hex value (in bytes).
Imports
Named
import { Hex } from 'ox'Examples
import { Hex } from 'ox'
Hex.size('0xdeadbeef')
4Definition
function size(
value: Hex,
): numberSource: src/core/Hex.ts
Parameters
value
- Type:
Hex
The Hex.Hex value to get the size of.
Return Type
The size of the Hex.Hex value (in bytes).
number

