Bytes.trimLeft
Trims leading zeros from a Bytes.Bytes value.
Imports
Named
import { Bytes } from 'ox'Examples
import { Bytes } from 'ox'
Bytes.trimLeft(Bytes.from([0, 0, 0, 0, 1, 2, 3]))
Uint8Array([1, 2, 3])Definition
function trimLeft(
value: Bytes,
): BytesSource: src/core/Bytes.ts
Parameters
value
- Type:
Bytes
Bytes.Bytes value.
Return Type
Trimmed Bytes.Bytes value.
Bytes

