Non-owning view over a contiguous run of writable bytes.
More...
#include <bytes.h>
Non-owning view over a contiguous run of writable bytes.
Definition at line 50 of file bytes.h.
◆ ByteSpan() [1/2]
| constexpr librats::ByteSpan::ByteSpan |
( |
| ) |
|
|
constexprdefault |
◆ ByteSpan() [2/2]
| constexpr librats::ByteSpan::ByteSpan |
( |
uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inlineconstexpr |
◆ begin()
| uint8_t * librats::ByteSpan::begin |
( |
| ) |
const |
|
inlinenoexcept |
◆ data()
| uint8_t * librats::ByteSpan::data |
( |
| ) |
const |
|
inlinenoexcept |
◆ empty()
| bool librats::ByteSpan::empty |
( |
| ) |
const |
|
inlinenoexcept |
◆ end()
| uint8_t * librats::ByteSpan::end |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator ByteView()
| librats::ByteSpan::operator ByteView |
( |
| ) |
const |
|
inlinenoexcept |
◆ size()
| size_t librats::ByteSpan::size |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: