USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
pybind_adaptors.hpp File Reference
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

Go to the source code of this file.

Classes

struct  pybind11::detail::type_caster< boost::optional< T > >
 

Namespaces

namespace  pybind11
 
namespace  pybind11::detail
 

Functions

std::vector< uint8_t > pybytes_to_vector (const py::bytes &data)
 
py::bytes vector_to_pybytes (const std::vector< uint8_t > &data)
 
std::vector< uint64_t > pybytes_to_u64_vector (const py::bytes &data)
 
py::bytes u64_vector_to_pybytes (const std::vector< uint64_t > &data)
 

Function Documentation

◆ pybytes_to_u64_vector()

std::vector< uint64_t > pybytes_to_u64_vector ( const py::bytes &  data)

◆ pybytes_to_vector()

std::vector< uint8_t > pybytes_to_vector ( const py::bytes &  data)

◆ u64_vector_to_pybytes()

py::bytes u64_vector_to_pybytes ( const std::vector< uint64_t > &  data)

◆ vector_to_pybytes()

py::bytes vector_to_pybytes ( const std::vector< uint8_t > &  data)