// $Id$
//
// Copyright (C) 2006
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// Network byte order integer extraction
/** \brief Internal: Extract 16bit network byte order value
-
+
\internal
*/
inline boost::uint16_t parse_uint16(iterator i)
}
/** \brief Internal: Write 16bit network byte order value
-
+
\internal
*/
inline void write_uint16(iterator i, boost::uint16_t v)
}
/** \brief Internal: Extract 24bit network byte order value
-
+
\internal
*/
inline boost::uint32_t parse_uint24(iterator i)
}
/** \brief Internal: Write 24bit network byte order value
-
+
\internal
*/
inline void write_uint24(iterator i, boost::uint32_t v)
}
/** \brief Internal: Extract 32bit network byte order value
-
+
\internal
*/
inline boost::uint32_t parse_uint32(iterator i)
}
/** \brief Internal: Write 32bit network byte order value
-
+
\internal
*/
inline void write_uint32(iterator i, boost::uint32_t v)
///////////////////////////////////////////////////////////////////////////
// bitfield extraction
- // Doxygen doesn't like this stuff ...
+ // Doxygen doesn't like this stuff ...
# ifndef DOXYGEN
/** \brief Internal: Bitfield read/write helper
\internal
-
+
Using template specializations, this class provides optimized bitfield parsers and
writers. For each number of bytes the bitfield covers (from 1 to 5 bytes), a template
specialization is provided in \c parse_bitfield_i.