An archive-reader which consumes data from a supplied pointer range.
More...
#include <archive.hpp>
|
|
constexpr | buffer_reader (void const *const first, void const *const last) noexcept |
| | Constructs the writer using a pair of pointer to define the range [first, last).
|
| |
| constexpr | buffer_reader (void const *const first, std::size_t const size) noexcept |
| | Constructs the writer using a pointer and size to define the range [first, first+size). More...
|
| |
| template<typename SpanType > |
| | buffer_reader (SpanType const span) noexcept |
| | Constructs the writer using a pointer and size to define the range [first, first+size). More...
|
| |
| template<typename T > |
| T | get () |
| | Reads a single instance of a standard-layout type T from the input iterator and returns the value extracted. More...
|
| |
An archive-reader which consumes data from a supplied pointer range.
◆ buffer_reader() [1/2]
| constexpr pstore::serialize::archive::buffer_reader::buffer_reader |
( |
void const *const |
first, |
|
|
std::size_t const |
size |
|
) |
| |
|
inlinenoexcept |
Constructs the writer using a pointer and size to define the range [first, first+size).
◆ buffer_reader() [2/2]
template<typename SpanType >
| pstore::serialize::archive::buffer_reader::buffer_reader |
( |
SpanType const |
span | ) |
|
|
inlineexplicitnoexcept |
Constructs the writer using a pointer and size to define the range [first, first+size).
◆ get()
template<typename T >
| T pstore::serialize::archive::buffer_reader::get |
( |
| ) |
|
|
inline |
Reads a single instance of a standard-layout type T from the input iterator and returns the value extracted.
The documentation for this class was generated from the following file: