LispBM
Functions
buffer.c File Reference
#include "buffer.h"
#include <math.h>
#include <stdbool.h>
Include dependency graph for buffer.c:

Functions

void buffer_append_int16 (uint8_t *buffer, int16_t number, int32_t *index)
 
void buffer_append_uint16 (uint8_t *buffer, uint16_t number, int32_t *index)
 
void buffer_append_int32 (uint8_t *buffer, int32_t number, int32_t *index)
 
void buffer_append_uint32 (uint8_t *buffer, uint32_t number, int32_t *index)
 
void buffer_append_int64 (uint8_t *buffer, int64_t number, int32_t *index)
 
void buffer_append_uint64 (uint8_t *buffer, uint64_t number, int32_t *index)
 
void buffer_append_float16 (uint8_t *buffer, float number, float scale, int32_t *index)
 
void buffer_append_float32 (uint8_t *buffer, float number, float scale, int32_t *index)
 
void buffer_append_double64 (uint8_t *buffer, double number, double scale, int32_t *index)
 
void buffer_append_float32_auto (uint8_t *buffer, float number, int32_t *index)
 
void buffer_append_float64_auto (uint8_t *buffer, double number, int32_t *index)
 
int16_t buffer_get_int16 (const uint8_t *buffer, int32_t *index)
 
uint16_t buffer_get_uint16 (const uint8_t *buffer, int32_t *index)
 
int32_t buffer_get_int32 (const uint8_t *buffer, int32_t *index)
 
uint32_t buffer_get_uint32 (const uint8_t *buffer, int32_t *index)
 
int64_t buffer_get_int64 (const uint8_t *buffer, int32_t *index)
 
uint64_t buffer_get_uint64 (const uint8_t *buffer, int32_t *index)
 
float buffer_get_float16 (const uint8_t *buffer, float scale, int32_t *index)
 
float buffer_get_float32 (const uint8_t *buffer, float scale, int32_t *index)
 
double buffer_get_double64 (const uint8_t *buffer, double scale, int32_t *index)
 
float buffer_get_float32_auto (const uint8_t *buffer, int32_t *index)
 
double buffer_get_float64_auto (const uint8_t *buffer, int32_t *index)
 

Function Documentation

◆ buffer_append_double64()

void buffer_append_double64 ( uint8_t *  buffer,
double  number,
double  scale,
int32_t *  index 
)

◆ buffer_append_float16()

void buffer_append_float16 ( uint8_t *  buffer,
float  number,
float  scale,
int32_t *  index 
)

◆ buffer_append_float32()

void buffer_append_float32 ( uint8_t *  buffer,
float  number,
float  scale,
int32_t *  index 
)

◆ buffer_append_float32_auto()

void buffer_append_float32_auto ( uint8_t *  buffer,
float  number,
int32_t *  index 
)

◆ buffer_append_float64_auto()

void buffer_append_float64_auto ( uint8_t *  buffer,
double  number,
int32_t *  index 
)

◆ buffer_append_int16()

void buffer_append_int16 ( uint8_t *  buffer,
int16_t  number,
int32_t *  index 
)

◆ buffer_append_int32()

void buffer_append_int32 ( uint8_t *  buffer,
int32_t  number,
int32_t *  index 
)

◆ buffer_append_int64()

void buffer_append_int64 ( uint8_t *  buffer,
int64_t  number,
int32_t *  index 
)

◆ buffer_append_uint16()

void buffer_append_uint16 ( uint8_t *  buffer,
uint16_t  number,
int32_t *  index 
)

◆ buffer_append_uint32()

void buffer_append_uint32 ( uint8_t *  buffer,
uint32_t  number,
int32_t *  index 
)

◆ buffer_append_uint64()

void buffer_append_uint64 ( uint8_t *  buffer,
uint64_t  number,
int32_t *  index 
)

◆ buffer_get_double64()

double buffer_get_double64 ( const uint8_t *  buffer,
double  scale,
int32_t *  index 
)

◆ buffer_get_float16()

float buffer_get_float16 ( const uint8_t *  buffer,
float  scale,
int32_t *  index 
)

◆ buffer_get_float32()

float buffer_get_float32 ( const uint8_t *  buffer,
float  scale,
int32_t *  index 
)

◆ buffer_get_float32_auto()

float buffer_get_float32_auto ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_float64_auto()

double buffer_get_float64_auto ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_int16()

int16_t buffer_get_int16 ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_int32()

int32_t buffer_get_int32 ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_int64()

int64_t buffer_get_int64 ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_uint16()

uint16_t buffer_get_uint16 ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_uint32()

uint32_t buffer_get_uint32 ( const uint8_t *  buffer,
int32_t *  index 
)

◆ buffer_get_uint64()

uint64_t buffer_get_uint64 ( const uint8_t *  buffer,
int32_t *  index 
)