C++ Actor Framework 1.0.0
|
Turns a sequence of bytes into a sequence of chunks. More...
#include <byte.hpp>
Public Types | |
using | input_type = std::byte |
using | output_type = chunk |
Public Member Functions | |
to_chunks_step (size_t chunk_size) noexcept | |
template<class Next , class... Steps> | |
bool | on_next (const std::byte &b, Next &next, Steps &... steps) |
template<class Next , class... Steps> | |
void | on_complete (Next &next, Steps &... steps) |
template<class Next , class... Steps> | |
void | on_error (const error &what, Next &next, Steps &... steps) |
Turns a sequence of bytes into a sequence of chunks.