MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
14 namespace serialization
28 inline bool extract(T&
object,
const uint8_t* buffer,
size_t bufferLength,
size_t offset=0,
bool exactSize=
false)
31 return extract<Endian::big>(
object, buffer, bufferLength, offset, exactSize);
35 inline bool insert(
const T&
object, uint8_t* buffer,
size_t bufferLength,
size_t offset=0)
38 return insert<Endian::big>(
object, buffer, bufferLength, offset);
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
Definition: readwrite.hpp:59
Serializer< serialization::Endian::big > BigEndianSerializer
Definition: serializer.hpp:139
std::enable_if< std::is_arithmetic< T >::value, size_t >::type insert(Serializer< E > &buffer, T value)
Inserts a numeric value to a Serializer.
Definition: serializer.hpp:172
size_t insert(Serializer &serializer, const Vector< T, N > &v)
Definition: common.hpp:130
Definition: readwrite.hpp:35
std::enable_if< std::is_arithmetic< T >::value, size_t >::type extract(Serializer< E > &buffer, T &value)
Reads a numeric value from a Serializer.
Definition: serializer.hpp:193
size_t extract(Serializer &serializer, Vector< T, N > &v)
Definition: common.hpp:133