8 #ifndef LIBCBOR_SERIALIZATION_H 9 #define LIBCBOR_SERIALIZATION_H 123 #endif //LIBCBOR_SERIALIZATION_H size_t cbor_serialize_map(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize a map.
size_t cbor_serialize_array(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize an array.
size_t cbor_serialize_negint(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize a negint.
size_t cbor_serialize_uint(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize an uint.
unsigned char * cbor_mutable_data
size_t cbor_serialize_bytestring(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize a bytestring.
size_t cbor_serialize_alloc(const cbor_item_t *item, cbor_mutable_data *buffer, size_t *buffer_size)
Serialize the given item, allocating buffers as needed.
size_t cbor_serialize_float_ctrl(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize a.
size_t cbor_serialize_string(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize a string.
size_t cbor_serialize(const cbor_item_t *item, cbor_mutable_data buffer, size_t buffer_size)
Serialize the given item.
size_t cbor_serialize_tag(const cbor_item_t *, cbor_mutable_data, size_t)
Serialize a tag.