MIP_SDK  v3.0.0-736-g212583cf
MicroStrain Communications Library for embedded systems
Namespaces | Functions
strings.hpp File Reference
#include <microstrain/strings.h>
#include <microstrain/array_view.hpp>
#include <cstring>

Go to the source code of this file.

Namespaces

 microstrain
 
 microstrain::strings
 

Functions

bool microstrain::strings::concat (CharArrayView buffer, size_t *index, const char *str, size_t len)
 Concatenate a string into a buffer. More...
 
bool microstrain::strings::concat (CharArrayView buffer, size_t *index, ConstCharArrayView str)
 Concatenate an array of characters into a buffer. More...
 
bool microstrain::strings::concat_cstr (CharArrayView buffer, size_t *index, const char *str, size_t maxLen=size_t(-1))
 Concatenate a NULL-terminated C string into a buffer. More...
 
template<size_t N>
bool microstrain::strings::concat_l (CharArrayView buffer, size_t *index, const char(&str)[N])
 Concatenate a string literal into a buffer. More...
 
bool microstrain::strings::bytesToHexStr (CharArrayView buffer, size_t *index, ConstU8ArrayView data, unsigned int byte_grouping)
 Formats a byte array to a text buffer in hexadecimal. More...