Algorithms

Algorithms are meant to provide encoding interface similar to STL algorithms' one. More...

Functions

template<typename Decoder , typename InputIterator , typename OutputIterator >
OutputIterator nil::crypto3::decode (InputIterator first, InputIterator last, OutputIterator out)
 
template<typename Decoder , typename InputIterator , typename OutputIterator , typename StreamDecoder = typename codec::itr_stream_codec_traits<typename Decoder::stream_decoder_type, InputIterator>::type>
OutputIterator nil::crypto3::decode (InputIterator first, InputIterator last, OutputIterator out, StreamDecoder &sh)
 
template<typename Decoder , typename InputIterator , typename StreamDecoder = typename codec::itr_stream_codec_traits<typename Decoder::stream_decoder_type, InputIterator>::type>
codec::detail::range_codec_impl< codec::detail::value_codec_impl< StreamDecoder > > nil::crypto3::decode (InputIterator first, InputIterator last)
 
template<typename Decoder , typename InputIterator , typename StreamDecoder = typename codec::itr_stream_codec_traits<typename Decoder::stream_decoder_type, InputIterator>::type>
codec::detail::range_codec_impl< codec::detail::ref_codec_impl< StreamDecoder > > nil::crypto3::decode (InputIterator first, InputIterator last, StreamDecoder &sh)
 
template<typename Decoder , typename SinglePassRange , typename OutputIterator >
OutputIterator nil::crypto3::decode (const SinglePassRange &rng, OutputIterator out)
 
template<typename Decoder , typename SinglePassRange , typename OutputIterator , typename StreamDecoder = typename codec::range_stream_codec_traits< typename Decoder::stream_decoder_type, SinglePassRange>::type>
OutputIterator nil::crypto3::decode (const SinglePassRange &rng, OutputIterator out, StreamDecoder &sh)
 
template<typename Decoder , typename SinglePassRange , typename StreamDecoder = typename codec::range_stream_codec_traits< typename Decoder::stream_decoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl< codec::detail::value_codec_impl< StreamDecoder > > nil::crypto3::decode (const SinglePassRange &r)
 
template<typename Decoder , typename SinglePassRange , typename StreamDecoder = typename codec::range_stream_codec_traits< typename Decoder::stream_decoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl< codec::detail::ref_codec_impl< StreamDecoder > > nil::crypto3::decode (const SinglePassRange &rng, StreamDecoder &sh)
 
template<typename Encoder , typename InputIterator , typename OutputIterator >
OutputIterator nil::crypto3::encode (InputIterator first, InputIterator last, OutputIterator out)
 
template<typename Encoder , typename InputIterator , typename OutputIterator , typename StreamEncoder = typename codec::itr_stream_codec_traits<typename Encoder::stream_encoder_type, InputIterator>::type>
OutputIterator nil::crypto3::encode (InputIterator first, InputIterator last, OutputIterator out, StreamEncoder &sh)
 
template<typename Encoder , typename InputIterator , typename StreamEncoder = typename codec::itr_stream_codec_traits<typename Encoder::stream_encoder_type, InputIterator>::type>
codec::detail::range_codec_impl< codec::detail::value_codec_impl< StreamEncoder > > nil::crypto3::encode (InputIterator first, InputIterator last)
 
template<typename Encoder , typename InputIterator , typename StreamEncoder = typename codec::itr_stream_codec_traits<typename Encoder::stream_encoder_type, InputIterator>::type>
codec::detail::range_codec_impl< codec::detail::ref_codec_impl< StreamEncoder > > nil::crypto3::encode (InputIterator first, InputIterator last, StreamEncoder &sh)
 
template<typename Encoder , typename SinglePassRange , typename OutputIterator >
OutputIterator nil::crypto3::encode (const SinglePassRange &rng, OutputIterator out)
 
template<typename Encoder , typename SinglePassRange , typename OutputIterator , typename StreamEncoder = typename codec::range_stream_codec_traits< typename Encoder::stream_encoder_type, SinglePassRange>::type>
OutputIterator nil::crypto3::encode (const SinglePassRange &rng, OutputIterator out, StreamEncoder &sh)
 
template<typename Encoder , typename SinglePassRange , typename StreamEncoder = typename codec::range_stream_codec_traits< typename Encoder::stream_encoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl< codec::detail::value_codec_impl< StreamEncoder > > nil::crypto3::encode (const SinglePassRange &r)
 
template<typename Encoder , typename SinglePassRange , typename StreamEncoder = typename codec::range_stream_codec_traits< typename Encoder::stream_encoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl< codec::detail::ref_codec_impl< StreamEncoder > > nil::crypto3::encode (const SinglePassRange &rng, StreamEncoder &sh)
 

Detailed Description

Algorithms are meant to provide encoding interface similar to STL algorithms' one.

Function Documentation

◆ decode() [1/8]

template<typename Decoder , typename InputIterator , typename OutputIterator >
OutputIterator nil::crypto3::decode ( InputIterator  first,
InputIterator  last,
OutputIterator  out 
)
Template Parameters
Decoder
InputIterator
OutputIterator
StreamDecoder
Parameters
first
last
out
Returns

◆ decode() [2/8]

template<typename Decoder , typename InputIterator , typename OutputIterator , typename StreamDecoder = typename codec::itr_stream_codec_traits<typename Decoder::stream_decoder_type, InputIterator>::type>
OutputIterator nil::crypto3::decode ( InputIterator  first,
InputIterator  last,
OutputIterator  out,
StreamDecoder &  sh 
)
Template Parameters
Decoder
InputIterator
OutputIterator
StreamDecoder
Parameters
first
last
out
sh
Returns

◆ decode() [3/8]

template<typename Decoder , typename InputIterator , typename StreamDecoder = typename codec::itr_stream_codec_traits<typename Decoder::stream_decoder_type, InputIterator>::type>
codec::detail::range_codec_impl<codec::detail::value_codec_impl<StreamDecoder> > nil::crypto3::decode ( InputIterator  first,
InputIterator  last 
)
Template Parameters
Decoder
InputIterator
StreamDecoder
Parameters
first
last
Returns

◆ decode() [4/8]

template<typename Decoder , typename InputIterator , typename StreamDecoder = typename codec::itr_stream_codec_traits<typename Decoder::stream_decoder_type, InputIterator>::type>
codec::detail::range_codec_impl<codec::detail::ref_codec_impl<StreamDecoder> > nil::crypto3::decode ( InputIterator  first,
InputIterator  last,
StreamDecoder &  sh 
)
Template Parameters
Decoder
InputIterator
StreamDecoder
Parameters
first
last
sh
Returns

◆ decode() [5/8]

template<typename Decoder , typename SinglePassRange , typename OutputIterator >
OutputIterator nil::crypto3::decode ( const SinglePassRange &  rng,
OutputIterator  out 
)
Template Parameters
Decoder
SinglePassRange
OutputIterator
StreamDecoder
Parameters
rng
out
Returns

◆ decode() [6/8]

template<typename Decoder , typename SinglePassRange , typename OutputIterator , typename StreamDecoder = typename codec::range_stream_codec_traits< typename Decoder::stream_decoder_type, SinglePassRange>::type>
OutputIterator nil::crypto3::decode ( const SinglePassRange &  rng,
OutputIterator  out,
StreamDecoder &  sh 
)
Template Parameters
Decoder
SinglePassRange
OutputIterator
StreamDecoder
Parameters
rng
out
sh
Returns

◆ decode() [7/8]

template<typename Decoder , typename SinglePassRange , typename StreamDecoder = typename codec::range_stream_codec_traits< typename Decoder::stream_decoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl<codec::detail::value_codec_impl<StreamDecoder> > nil::crypto3::decode ( const SinglePassRange &  r)
Template Parameters
Decoder
SinglePassRange
StreamDecoder
Parameters
r
Returns

◆ decode() [8/8]

template<typename Decoder , typename SinglePassRange , typename StreamDecoder = typename codec::range_stream_codec_traits< typename Decoder::stream_decoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl<codec::detail::ref_codec_impl<StreamDecoder> > nil::crypto3::decode ( const SinglePassRange &  rng,
StreamDecoder &  sh 
)
Template Parameters
Decoder
SinglePassRange
StreamDecoder
Parameters
rng
sh
Returns

◆ encode() [1/8]

template<typename Encoder , typename InputIterator , typename OutputIterator >
OutputIterator nil::crypto3::encode ( InputIterator  first,
InputIterator  last,
OutputIterator  out 
)
Template Parameters
Encoder
InputIterator
OutputIterator
StreamEncoder
Parameters
first
last
out
Returns

◆ encode() [2/8]

template<typename Encoder , typename InputIterator , typename OutputIterator , typename StreamEncoder = typename codec::itr_stream_codec_traits<typename Encoder::stream_encoder_type, InputIterator>::type>
OutputIterator nil::crypto3::encode ( InputIterator  first,
InputIterator  last,
OutputIterator  out,
StreamEncoder &  sh 
)
Template Parameters
Encoder
InputIterator
OutputIterator
StreamEncoder
Parameters
first
last
out
sh
Returns

◆ encode() [3/8]

template<typename Encoder , typename InputIterator , typename StreamEncoder = typename codec::itr_stream_codec_traits<typename Encoder::stream_encoder_type, InputIterator>::type>
codec::detail::range_codec_impl<codec::detail::value_codec_impl<StreamEncoder> > nil::crypto3::encode ( InputIterator  first,
InputIterator  last 
)
Template Parameters
Encoder
InputIterator
StreamEncoder
Parameters
first
last
Returns

◆ encode() [4/8]

template<typename Encoder , typename InputIterator , typename StreamEncoder = typename codec::itr_stream_codec_traits<typename Encoder::stream_encoder_type, InputIterator>::type>
codec::detail::range_codec_impl<codec::detail::ref_codec_impl<StreamEncoder> > nil::crypto3::encode ( InputIterator  first,
InputIterator  last,
StreamEncoder &  sh 
)
Template Parameters
Encoder
InputIterator
StreamEncoder
Parameters
first
last
sh
Returns

◆ encode() [5/8]

template<typename Encoder , typename SinglePassRange , typename OutputIterator >
OutputIterator nil::crypto3::encode ( const SinglePassRange &  rng,
OutputIterator  out 
)
Template Parameters
Encoder
SinglePassRange
OutputIterator
Parameters
rng
out
Returns

◆ encode() [6/8]

template<typename Encoder , typename SinglePassRange , typename OutputIterator , typename StreamEncoder = typename codec::range_stream_codec_traits< typename Encoder::stream_encoder_type, SinglePassRange>::type>
OutputIterator nil::crypto3::encode ( const SinglePassRange &  rng,
OutputIterator  out,
StreamEncoder &  sh 
)
Template Parameters
Encoder
SinglePassRange
OutputIterator
StreamEncoder
Parameters
rng
out
sh
Returns

◆ encode() [7/8]

template<typename Encoder , typename SinglePassRange , typename StreamEncoder = typename codec::range_stream_codec_traits< typename Encoder::stream_encoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl<codec::detail::value_codec_impl<StreamEncoder> > nil::crypto3::encode ( const SinglePassRange &  r)
Template Parameters
Encoder
SinglePassRange
StreamEncoder
Parameters
r
Returns

◆ encode() [8/8]

template<typename Encoder , typename SinglePassRange , typename StreamEncoder = typename codec::range_stream_codec_traits< typename Encoder::stream_encoder_type, SinglePassRange>::type>
codec::detail::range_codec_impl<codec::detail::ref_codec_impl<StreamEncoder> > nil::crypto3::encode ( const SinglePassRange &  rng,
StreamEncoder &  sh 
)
Template Parameters
Encoder
SinglePassRange
StreamEncoder
Parameters
rng
sh
Returns