gbor/encode

Module where we can find the functions used for getting the CBOR binary representation of a value

Types

pub type EncodeError {
  EncodeError(String)
}

Constructors

  • EncodeError(String)

Values

pub fn to_bit_array(
  value: gbor.CBOR,
) -> Result(BitArray, EncodeError)

Encode a CBOR value to a bit array

Search Document