Non-owning view over a contiguous run of bytes.
More...
#include <bytes.h>
Non-owning view over a contiguous run of bytes.
Definition at line 27 of file bytes.h.
◆ ByteView() [1/4]
| constexpr librats::ByteView::ByteView |
( |
| ) |
|
|
constexprdefault |
◆ ByteView() [2/4]
| constexpr librats::ByteView::ByteView |
( |
const uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inlineconstexpr |
◆ ByteView() [3/4]
| librats::ByteView::ByteView |
( |
const Bytes & |
b | ) |
|
|
inline |
◆ ByteView() [4/4]
| librats::ByteView::ByteView |
( |
const std::string & |
s | ) |
|
|
inline |
◆ begin()
| const uint8_t * librats::ByteView::begin |
( |
| ) |
const |
|
inlinenoexcept |
◆ data()
| const uint8_t * librats::ByteView::data |
( |
| ) |
const |
|
inlinenoexcept |
◆ empty()
| bool librats::ByteView::empty |
( |
| ) |
const |
|
inlinenoexcept |
◆ end()
| const uint8_t * librats::ByteView::end |
( |
| ) |
const |
|
inlinenoexcept |
◆ size()
| size_t librats::ByteView::size |
( |
| ) |
const |
|
inlinenoexcept |
◆ to_bytes()
| Bytes librats::ByteView::to_bytes |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: