nil::crypto3::detail::exploder< InputEndianness, OutputEndianness, InputBits, OutputBits, k > Struct Template Reference

exploder forms a sequence of output values represented in OutputEndianness endianness from an input value represented in InputEndianness endianness. The function explode is invoked recursively, and the parameter k is used to track the number of already processed output values derived from the input value. The recursion ends when all elements the input value can hold have already been processed, i.e. when k == InputBits. More...

+ Collaboration diagram for nil::crypto3::detail::exploder< InputEndianness, OutputEndianness, InputBits, OutputBits, k >:

Detailed Description

template<typename InputEndianness, typename OutputEndianness, int InputBits, int OutputBits, int k = 0>
struct nil::crypto3::detail::exploder< InputEndianness, OutputEndianness, InputBits, OutputBits, k >

exploder forms a sequence of output values represented in OutputEndianness endianness from an input value represented in InputEndianness endianness. The function explode is invoked recursively, and the parameter k is used to track the number of already processed output values derived from the input value. The recursion ends when all elements the input value can hold have already been processed, i.e. when k == InputBits.

Template Parameters
InputEndianness
OutputEndianness
InputBits
OutputBits
k

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