World all

Import interface hermes:binary/api

Binary Data API

Binary Data types and functions.

Permissions

This API is ALWAYS available. cspell: words Binary API Interface - Imports ONLY


Types

type bstr

bstr

Binary String (bstr) is a list of bytes. This type is used to indicate the data is an arbitrary array of bytes.

tuple b128

128 bit value

Tuple Fields
  • 0: u64
  • 1: u64

tuple b256

256 bit value

Tuple Fields
  • 0: u64
  • 1: u64
  • 2: u64
  • 3: u64

tuple b512

512 bit value

Tuple Fields
  • 0: u64
  • 1: u64
  • 2: u64
  • 3: u64
  • 4: u64
  • 5: u64
  • 6: u64
  • 7: u64

Import interface hermes:cbor/api

CBOR API

CBOR Data types and functions.

Permissions

This API is ALWAYS available. cspell: words CBOR API Interface - Imports ONLY


Types

type bstr

bstr

#### `type cbor` [`bstr`](#bstr)

CBOR is a binary cbor data type. This type is used to indicate the binary array MUST be CBOR data.