Function encode

Synopsis

#include "breeze/endianness/endian_codec.hpp"

template <typename OutputIter>
static void encode(T const &value, OutputIter dest)

Description

Writes (encodes) the value value into a range starting with dest, according to EndianPolicy.

Source

Lines 222-229 in breeze/endianness/endian_codec.hpp.

template< typename OutputIter >
static void         encode( T const & value, OutputIter dest )
{
    endian_codec_private::endian_codec< EndianPolicy,
                                        T,
                                        Byte,
                                        n >::encode( value, dest ) ;
}