libcbor  0.5.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Functions
encoders.c File Reference
#include "encoders.h"

Go to the source code of this file.

Functions

size_t _cbor_encode_uint8 (uint8_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset)
 
size_t _cbor_encode_uint16 (uint16_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset)
 
size_t _cbor_encode_uint32 (uint32_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset)
 
size_t _cbor_encode_uint64 (uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset)
 
size_t _cbor_encode_uint (uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset)
 

Function Documentation

§ _cbor_encode_uint()

size_t _cbor_encode_uint ( uint64_t  value,
unsigned char *  buffer,
size_t  buffer_size,
uint8_t  offset 
)

Definition at line 102 of file encoders.c.

§ _cbor_encode_uint16()

size_t _cbor_encode_uint16 ( uint16_t  value,
unsigned char *  buffer,
size_t  buffer_size,
uint8_t  offset 
)

Definition at line 31 of file encoders.c.

§ _cbor_encode_uint32()

size_t _cbor_encode_uint32 ( uint32_t  value,
unsigned char *  buffer,
size_t  buffer_size,
uint8_t  offset 
)

Definition at line 52 of file encoders.c.

§ _cbor_encode_uint64()

size_t _cbor_encode_uint64 ( uint64_t  value,
unsigned char *  buffer,
size_t  buffer_size,
uint8_t  offset 
)

Definition at line 75 of file encoders.c.

§ _cbor_encode_uint8()

size_t _cbor_encode_uint8 ( uint8_t  value,
unsigned char *  buffer,
size_t  buffer_size,
uint8_t  offset 
)

Definition at line 14 of file encoders.c.