Arduino KVComm
master
Key-Value pair communication library for Arduino
|
KV_Type type definitions for fundamental types (int::_t, uint::_t, float, double, bool, char). These definitions specify how variables of these types should be serialized and deserialized when writing and reading them from/to the buffer. More...
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | KV_Type< T > |
Template struct for making types serializable. More... | |
struct | KV_Type< int8_t > |
struct | KV_Type< uint8_t > |
struct | KV_Type< int16_t > |
struct | KV_Type< uint16_t > |
struct | KV_Type< int32_t > |
struct | KV_Type< uint32_t > |
struct | KV_Type< int64_t > |
struct | KV_Type< uint64_t > |
struct | KV_Type< float > |
struct | KV_Type< double > |
struct | KV_Type< bool > |
struct | KV_Type< char > |
Macros | |
#define | KV_ADD_TRIVIAL_TYPE(type, typeid) |
Add a KV_Type definition that can be (de)serialized by just memcpy ing. More... | |
KV_Type type definitions for fundamental types (int::_t, uint::_t, float, double, bool, char). These definitions specify how variables of these types should be serialized and deserialized when writing and reading them from/to the buffer.
Definition in file KV_Types.hpp.
#define KV_ADD_TRIVIAL_TYPE | ( | type, | |
typeid | |||
) |
Add a KV_Type definition that can be (de)serialized by just memcpy
ing.
Definition at line 53 of file KV_Types.hpp.