X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FMACAddress.hh;h=3b1e94c8615b27e0a66e5ca4c0f9d331c3bd662b;hb=4004cfae8ca0e03a40385560e14bba730a801464;hp=4281efdfa62d12e73833a14974b8d7f85fdf8e2f;hpb=22cb180183d1e2f2e19b3cf4c9d99aa34f8315f3;p=senf.git diff --git a/Socket/Protocols/Raw/MACAddress.hh b/Socket/Protocols/Raw/MACAddress.hh index 4281efd..3b1e94c 100644 --- a/Socket/Protocols/Raw/MACAddress.hh +++ b/Socket/Protocols/Raw/MACAddress.hh @@ -67,14 +67,7 @@ namespace senf { INet6Address(0x2001u,0xDB8u,0x1u,0x0u,0x001Au,0x2BFFu,0xFE3Cu,0x3D5Fu).id()) \endcode - Since MACAddress is based on \c boo Ziel, aber nur ein paar davon sind standardkomform. - -Der aktuelle C++ Standard unterstützt drei verschiedene Möglichkeiten eine Zahl in einen String umzuwandeln. Diese Möglichkeiten sind: - - * sprintf - * std::strstream - * std::stringstream - st::array, you can access the raw data bytes of the + Since MACAddress is based on \c boost::array, you can access the raw data bytes of the address using \c begin(), \c end() or \c operator[]: \code MACAddress mac = ...;