detail namespace
#include <nxtio/buffers.hpp>
Functions
-
void check_cancelled(std::
stop_token stop) -
auto find_bytes(std::
span<const std:: byte> haystack, std:: span<const std:: byte> needle) → std:: size_t -
template <typename Source>auto read_some_bytes(Source& source, std::
span<std:: byte> dst) → nxt:: task<std:: size_t> -
template <typename Source>auto read_some_bytes(Source& source, std::
span<std:: byte> dst, std:: stop_token stop) → nxt:: task<std:: size_t> -
template <typename Sink>auto write_all_bytes(Sink& sink, std::
span<const std:: byte> bytes) → nxt:: task