string_source class
#include <nxtio/buffers.hpp>
Borrowed in-memory source exposed through read_some.
Constructors, destructors, conversion operators
-
string_source(std::
span<const std:: string_view> chunks) explicit - Borrow a sequence of string chunks as one byte stream.
Public functions
-
auto read_some(std::
span<std:: byte> dst) → nxt:: task<std:: size_t> - Read bytes from the current chunk sequence into
dst.