Allows the creation of an uninitialized buffer that is then filled by the user. More...
#include <buffer.hpp>
Public Member Functions | |
builder (std::size_t size, MemoryResource *resource=_detail::get_memory_resource< MemoryResource >()) | |
char_type * | data () const noexcept |
buffer | finish () &&noexcept |
std::size_t | size () const noexcept |
Private Attributes | |
buffer | _buffer |
Allows the creation of an uninitialized buffer that is then filled by the user.
Definition at line 108 of file buffer.hpp.
|
inlineexplicit |
Definition at line 111 of file buffer.hpp.
|
inlinenoexcept |
Definition at line 119 of file buffer.hpp.
|
inlinenoexcept |
Definition at line 128 of file buffer.hpp.
|
inlinenoexcept |
Definition at line 123 of file buffer.hpp.
|
private |
Definition at line 134 of file buffer.hpp.