Skip to content

@lelantos-org/sdk / services / hexBytes

Function: hexBytes() ​

ts
function hexBytes(v, path): Uint8Array;

Defined in: @lelantos-org/sdk/dist/services/http/decode.d.ts:25

Hex bytes, 0x-prefixed or bare. Rejects odd length and non-hex.

Parameters ​

ParameterType
vunknown
pathstring

Returns ​

Uint8Array