7 #ifndef YARP_OS_NETTYPE_H
8 #define YARP_OS_NETTYPE_H
31 static unsigned long int getCrc(
char* buf,
size_t len);
33 #ifndef YARP_NO_DEPRECATED
35 static std::string toHexString(
int x);
38 static std::string toHexString(
long x);
41 static std::string toHexString(
unsigned int x);
50 static std::string
toString(
unsigned int x);
71 static int toInt(
const std::string& x);
A simple abstraction for a block of bytes.
Various utilities related to types and formats.
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
std::string toString(const T &value)
convert an arbitrary type to string.
The main, catch-all namespace for YARP.