ipfs-chromium
|
#include <library/include/multibase/algorithm.h>
Classes | |
class | block_tag |
class | stream_tag |
Public Member Functions | |
virtual std::size_t | block_size () |
virtual std::size_t | output_size () |
virtual std::string | process (std::string_view input)=0 |
Base for an encoder/decoder
|
inlinevirtual |
Returns the input size required to decode a single block
Reimplemented in multibase::basic_algorithm< T, Traits >::decoder, and multibase::basic_algorithm< T, Traits >::encoder.
|
inlinevirtual |
Returns the size of a processed block
Reimplemented in multibase::basic_algorithm< T, Traits >::decoder, and multibase::basic_algorithm< T, Traits >::encoder.
|
pure virtual |
Processes an input block returning any intermediate result
Implemented in multibase::basic_algorithm< T, Traits >::decoder, and multibase::basic_algorithm< T, Traits >::encoder.