#include <uhd/config.hpp>
#include <boost/range.hpp>
#include <algorithm>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
uhd | |
Typedefs | |
typedef std::vector< uint8_t > | uhd::byte_vector_t |
Byte vector used for I2C data passing and EEPROM parsing. More... | |
Functions | |
template<typename RangeSrc , typename RangeDst > | |
UHD_INLINE void | uhd::byte_copy (const RangeSrc &src, RangeDst &dst) |
UHD_API std::string | uhd::bytes_to_string (const byte_vector_t &bytes) |
Create a string from a byte vector, terminate when invalid ASCII encountered. More... | |
UHD_API byte_vector_t | uhd::string_to_bytes (const std::string &str, size_t max_length) |
Create a byte vector from a string, end at null terminator or max length. More... | |