Module utils

These are all internal utility functions for cbor2. They are only exported so that the web playground can use them.

NO API backward compatibility is promised for these functions. They are not a part of the public interface, and changes here will not affect the semver status of a changeset. Use at your own risk.

Type Aliases

CborRange
Range8Array

Variables

CBOR_RANGES

Functions

base64ToBytes
base64UrlToBytes
getRanges
hasRanges
hexToU8
isBigEndian
setRanges
stringToHex
subarrayRanges
u8concat
u8toHex