libcbor 0.12.0
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
Loading...
Searching...
No Matches
encoders.h File Reference
#include "cbor/common.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 88 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 29 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 46 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 65 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 12 of file encoders.c.