  | 
  
    USRP Hardware Driver and USRP Manual
    Version: 4.4.0.HEAD-0-g5fac246b
    
   UHD and USRP Manual 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
   11 #include <boost/range.hpp> 
   21 template <
typename RangeSrc, 
typename RangeDst>
 
   24     std::copy(boost::begin(src), boost::end(src), boost::begin(dst));
 
  
 
#define UHD_INLINE
Definition: config.h:65
 
#define UHD_API
Definition: config.h:87
 
UHD_API std::string bytes_to_string(const byte_vector_t &bytes)
Create a string from a byte vector, terminate when invalid ASCII encountered.
 
std::vector< uint8_t > byte_vector_t
Byte vector used for I2C data passing and EEPROM parsing.
Definition: byte_vector.hpp:19
 
Definition: build_info.hpp:12
 
UHD_INLINE void byte_copy(const RangeSrc &src, RangeDst &dst)
Definition: byte_vector.hpp:22
 
UHD_API byte_vector_t 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.