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

imploder processes a sequence of input values represented in InputEndianness endianness into an output value represented in OutputEndianness endianness. The function implode is invoked recursively, and the parameter k is used to track the number of already processed input values packed into the output value. The recursion ends when all elements the output value can hold have already been processed, i.e. when k == OutputBits. More...

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

Detailed Description

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

imploder processes a sequence of input values represented in InputEndianness endianness into an output value represented in OutputEndianness endianness. The function implode is invoked recursively, and the parameter k is used to track the number of already processed input values packed into the output value. The recursion ends when all elements the output value can hold have already been processed, i.e. when k == OutputBits.

Template Parameters
InputEndianness
OutputEndianness
InputBits
OutputBits
k

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