CBOR Simple Value¶
-
enum cardano_cbor_simple_value_t¶
Represents a CBOR simple value (major type 7).
These simple values are part of the CBOR data format as defined in RFC 7049, section 2.3, representing commonly used simple data items. This enumeration includes the simple values for ‘false’, ‘true’, ‘null’, and ‘undefined’, each of which has a specific role in the CBOR encoding and interpretation process.
Values:
-
enumerator CARDANO_CBOR_SIMPLE_VALUE_FALSE¶
Represents the value ‘false’.
This value is used to represent the boolean false in CBOR-encoded data.
-
enumerator CARDANO_CBOR_SIMPLE_VALUE_TRUE¶
Represents the value ‘true’.
This value is used to represent the boolean true in CBOR-encoded data.
-
enumerator CARDANO_CBOR_SIMPLE_VALUE_NULL¶
Represents the value ‘null’.
This value signifies a null reference or the absence of data in CBOR-encoded data.
-
enumerator CARDANO_CBOR_SIMPLE_VALUE_UNDEFINED¶
Represents an undefined value.
This value is used by an encoder as a substitute for a data item with an encoding problem, indicating the absence of meaningful or correct data.
-
enumerator CARDANO_CBOR_SIMPLE_VALUE_FALSE¶