Home
last modified time | relevance | path

Searched refs:cbor_encode_uint8 (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/libcbor/test/
H A Duint_encoders_test.c14 assert_size_equal(1, cbor_encode_uint8(14, buffer, 512)); in test_embedded_uint8()
19 assert_size_equal(0, cbor_encode_uint8(180, buffer, 1)); in test_uint8()
20 assert_size_equal(2, cbor_encode_uint8(255, buffer, 512)); in test_uint8()
/freebsd/contrib/libcbor/doc/source/api/
H A Dstreaming_encoding.rst12 .. doxygenfunction:: cbor_encode_uint8
/freebsd/contrib/libcbor/src/cbor/
H A Dencoding.h30 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_uint8(uint8_t, unsigned char *,
H A Dencoding.c11 size_t cbor_encode_uint8(uint8_t value, unsigned char *buffer, in cbor_encode_uint8() function
H A Dserialization.c180 return cbor_encode_uint8(cbor_get_uint8(item), buffer, buffer_size); in cbor_serialize_uint()