nil::crypto3::detail::bit_reverser< InputEndianness, OutputEndianness, UnitBits, IsSameBit > Struct Template Reference

bit_reverser reverses the sequence of bits in each unit of the given value, if InputEndianness and OutputEndianness endiannesses have different bit orders, and does nothing, otherwise. More...

+ Collaboration diagram for nil::crypto3::detail::bit_reverser< InputEndianness, OutputEndianness, UnitBits, IsSameBit >:

Detailed Description

template<typename InputEndianness, typename OutputEndianness, int UnitBits, bool IsSameBit = is_same_bit<InputEndianness, OutputEndianness, UnitBits>::value>
struct nil::crypto3::detail::bit_reverser< InputEndianness, OutputEndianness, UnitBits, IsSameBit >

bit_reverser reverses the sequence of bits in each unit of the given value, if InputEndianness and OutputEndianness endiannesses have different bit orders, and does nothing, otherwise.

Template Parameters
InputEndianness
OutputEndianness
UnitBits
IsSameBit

The documentation for this struct was generated from the following file: