Function decode

Synopsis

#include "breeze/endianness/endian_codec.hpp"

template <typename InputIter>
static T decode(InputIter source)

Description

Returns
The value of type T encoded, according to EndianPolicy, in a range that begins with source.
Note
The value_type of InputIter can be larger than Byte.

Source

Lines 239-246 in breeze/endianness/endian_codec.hpp.

template< typename InputIter >
static T            decode( InputIter source )
{
    return endian_codec_private::endian_codec< EndianPolicy,
                                               T,
                                               Byte,
                                               n >::decode( source ) ;
}