boost::capy::make_buffer
Return a buffer from a const std::span with a maximum size.
Synopsis
template<
class T,
std::size_t Extent>
requires (sizeof(T) == 1)
[[nodiscard]]
const_buffer
make_buffer(
std::span<T const, Extent> data,
std::size_t max_size) noexcept;
Return Value
a buffer from a const std::span with a maximum size.
Created with MrDocs