MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Typedefs | Functions
serialization.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <type_traits>

Go to the source code of this file.

Classes

struct  microstrain::C::microstrain_serializer
 Structure used for serialization. More...
 

Namespaces

 microstrain
 
 microstrain::C
 

Typedefs

typedef struct microstrain::C::microstrain_serializer microstrain::C::microstrain_serializer
 Structure used for serialization. More...
 

Functions

void microstrain::C::microstrain_serializer_init_insertion (microstrain_serializer *serializer, uint8_t *buffer, size_t buffer_size)
 
void microstrain::C::microstrain_serializer_init_extraction (microstrain_serializer *serializer, const uint8_t *buffer, size_t buffer_size)
 
size_t microstrain::C::microstrain_serializer_capacity (const microstrain_serializer *serializer)
 
size_t microstrain::C::microstrain_serializer_length (const microstrain_serializer *serializer)
 
int microstrain::C::microstrain_serializer_remaining (const microstrain_serializer *serializer)
 
bool microstrain::C::microstrain_serializer_is_ok (const microstrain_serializer *serializer)
 
bool microstrain::C::microstrain_serializer_is_complete (const microstrain_serializer *serializer)
 
void microstrain::C::microstrain_insert_bool (microstrain_serializer *serializer, bool value)
 
void microstrain::C::microstrain_insert_char (microstrain_serializer *serializer, char value)
 
void microstrain::C::microstrain_insert_u8 (microstrain_serializer *serializer, uint8_t value)
 
void microstrain::C::microstrain_insert_u16 (microstrain_serializer *serializer, uint16_t value)
 
void microstrain::C::microstrain_insert_u32 (microstrain_serializer *serializer, uint32_t value)
 
void microstrain::C::microstrain_insert_u64 (microstrain_serializer *serializer, uint64_t value)
 
void microstrain::C::microstrain_insert_s8 (microstrain_serializer *serializer, int8_t value)
 
void microstrain::C::microstrain_insert_s16 (microstrain_serializer *serializer, int16_t value)
 
void microstrain::C::microstrain_insert_s32 (microstrain_serializer *serializer, int32_t value)
 
void microstrain::C::microstrain_insert_s64 (microstrain_serializer *serializer, int64_t value)
 
void microstrain::C::microstrain_insert_float (microstrain_serializer *serializer, float value)
 
void microstrain::C::microstrain_insert_double (microstrain_serializer *serializer, double value)
 
void microstrain::C::microstrain_extract_bool (microstrain_serializer *serializer, bool *value)
 
void microstrain::C::microstrain_extract_char (microstrain_serializer *serializer, char *value)
 
void microstrain::C::microstrain_extract_u8 (microstrain_serializer *serializer, uint8_t *value)
 
void microstrain::C::microstrain_extract_u16 (microstrain_serializer *serializer, uint16_t *value)
 
void microstrain::C::microstrain_extract_u32 (microstrain_serializer *serializer, uint32_t *value)
 
void microstrain::C::microstrain_extract_u64 (microstrain_serializer *serializer, uint64_t *value)
 
void microstrain::C::microstrain_extract_s8 (microstrain_serializer *serializer, int8_t *value)
 
void microstrain::C::microstrain_extract_s16 (microstrain_serializer *serializer, int16_t *value)
 
void microstrain::C::microstrain_extract_s32 (microstrain_serializer *serializer, int32_t *value)
 
void microstrain::C::microstrain_extract_s64 (microstrain_serializer *serializer, int64_t *value)
 
void microstrain::C::microstrain_extract_float (microstrain_serializer *serializer, float *value)
 
void microstrain::C::microstrain_extract_double (microstrain_serializer *serializer, double *value)
 
void microstrain::C::microstrain_extract_count (microstrain_serializer *serializer, uint8_t *count_out, uint8_t max_count)