nil::crypto3::detail::imploder_shift< OutputEndianness, UnitBits, InputBits, OutputBits, k, IsLittleUnit > Struct Template Reference
imploder_shift trait is used to determine whether the input elements are packed into an output element in reverse order. Since the input and output types are integral now, this trait contains the shift indicating the position of input element in the output element when k input bits have already been processed. More...
Collaboration diagram for nil::crypto3::detail::imploder_shift< OutputEndianness, UnitBits, InputBits, OutputBits, k, IsLittleUnit >:
Detailed Description
template<typename OutputEndianness, int UnitBits, int InputBits, int OutputBits, int k, bool IsLittleUnit = is_little_unit<OutputEndianness, UnitBits>::value>
struct nil::crypto3::detail::imploder_shift< OutputEndianness, UnitBits, InputBits, OutputBits, k, IsLittleUnit >
imploder_shift trait is used to determine whether the input elements are packed into an output element in reverse order. Since the input and output types are integral now, this trait contains the shift indicating the position of input element in the output element when k input bits have already been processed.
- Template Parameters
-
OutputEndianness UnitBits InputBits OutputBits k IsLittleUnit
The documentation for this struct was generated from the following file: