deimos.cbor.ints

Undocumented in source.

Members

Functions

cbor_build_negint16
cbor_item_t* cbor_build_negint16(ushort value)

Constructs a new negative integer

cbor_build_negint32
cbor_item_t* cbor_build_negint32(uint value)

Constructs a new negative integer

cbor_build_negint64
cbor_item_t* cbor_build_negint64(ulong value)

Constructs a new negative integer

cbor_build_negint8
cbor_item_t* cbor_build_negint8(ubyte value)

Constructs a new negative integer

cbor_build_uint16
cbor_item_t* cbor_build_uint16(ushort value)

Constructs a new positive integer

cbor_build_uint32
cbor_item_t* cbor_build_uint32(uint value)

Constructs a new positive integer

cbor_build_uint64
cbor_item_t* cbor_build_uint64(ulong value)

Constructs a new positive integer

cbor_build_uint8
cbor_item_t* cbor_build_uint8(ubyte value)

Constructs a new positive integer

cbor_get_int
ulong cbor_get_int(cbor_item_t* item)

Extracts the integer value

cbor_get_uint16
ushort cbor_get_uint16(cbor_item_t* item)

Extracts the integer value

cbor_get_uint32
uint cbor_get_uint32(cbor_item_t* item)

Extracts the integer value

cbor_get_uint64
ulong cbor_get_uint64(cbor_item_t* item)

Extracts the integer value

cbor_get_uint8
ubyte cbor_get_uint8(cbor_item_t* item)

Extracts the integer value

cbor_int_get_width
cbor_int_width cbor_int_get_width(cbor_item_t* item)

Queries the integer width

cbor_mark_negint
void cbor_mark_negint(cbor_item_t* item)

Marks the integer item as a negative integer

cbor_mark_uint
void cbor_mark_uint(cbor_item_t* item)

Marks the integer item as a positive integer

cbor_new_int16
cbor_item_t* cbor_new_int16()

Allocates new integer with 2B width

cbor_new_int32
cbor_item_t* cbor_new_int32()

Allocates new integer with 4B width

cbor_new_int64
cbor_item_t* cbor_new_int64()

Allocates new integer with 8B width

cbor_new_int8
cbor_item_t* cbor_new_int8()

Allocates new integer with 1B width

cbor_set_uint16
void cbor_set_uint16(cbor_item_t* item, ushort value)

Assigns the integer value

cbor_set_uint32
void cbor_set_uint32(cbor_item_t* item, uint value)

Assigns the integer value

cbor_set_uint64
void cbor_set_uint64(cbor_item_t* item, ulong value)

Assigns the integer value

cbor_set_uint8
void cbor_set_uint8(cbor_item_t* item, ubyte value)

Assigns the integer value

Meta