Function shift_amount

Synopsis

#include "breeze/endianness/endian_codec.hpp"

template <typename T, typename Byte, std::ptrdiff_t n>
static int shift_amount()

Description

No description yet.

Source

Lines 140-145 in breeze/endianness/endian_codec.hpp.

template< typename T, typename Byte, std::ptrdiff_t n >
static int          shift_amount()
{
    return ( endian_codec_private::required_count< T, Byte >::value - 1 - n ) *
        meta::width< Byte >::value ;
}