Buffer#

struct Buffer#

Public Functions

Buffer()#
Buffer(Buffer const&) = delete#
Buffer(Buffer&&) = default#
inline operator std::span<std::byte>()#
inline operator std::span<std::byte const>() const#
inline std::span<std::byte> data()#
inline std::span<std::byte const> data() const#
inline size_t size() const#
inline bool empty() const#
bool append(Receiver&, size_t available_bytes = 0)#
void drain(size_t bytes)#
inline void clear()#