Data buffer.
More...
#include <wpinet/uv/Buffer.h>
Data buffer.
Convenience wrapper around uv_buf_t.
◆ Buffer() [1/6]
wpi::uv::Buffer::Buffer |
( |
| ) |
|
|
inline |
◆ Buffer() [2/6]
wpi::uv::Buffer::Buffer |
( |
const uv_buf_t & |
oth | ) |
|
|
inline |
◆ Buffer() [3/6]
◆ Buffer() [4/6]
wpi::uv::Buffer::Buffer |
( |
std::span< const uint8_t > |
arr | ) |
|
|
inline |
◆ Buffer() [5/6]
wpi::uv::Buffer::Buffer |
( |
char * |
base_, |
|
|
size_t |
len_ |
|
) |
| |
|
inline |
◆ Buffer() [6/6]
wpi::uv::Buffer::Buffer |
( |
const char * |
base_, |
|
|
size_t |
len_ |
|
) |
| |
|
inline |
◆ Allocate()
static Buffer wpi::uv::Buffer::Allocate |
( |
size_t |
size | ) |
|
|
inlinestatic |
◆ data() [1/2]
std::span< char > wpi::uv::Buffer::data |
( |
| ) |
|
|
inline |
◆ data() [2/2]
std::span< const char > wpi::uv::Buffer::data |
( |
| ) |
const |
|
inline |
◆ Deallocate()
void wpi::uv::Buffer::Deallocate |
( |
| ) |
|
|
inline |
◆ Dup() [1/3]
Buffer wpi::uv::Buffer::Dup |
( |
| ) |
const |
|
inline |
◆ Dup() [2/3]
static Buffer wpi::uv::Buffer::Dup |
( |
std::span< const uint8_t > |
in | ) |
|
|
inlinestatic |
◆ Dup() [3/3]
◆ Move()
Buffer wpi::uv::Buffer::Move |
( |
| ) |
|
|
inline |
◆ operator std::span< char >()
wpi::uv::Buffer::operator std::span< char > |
( |
| ) |
|
|
inline |
◆ operator std::span< const char >()
wpi::uv::Buffer::operator std::span< const char > |
( |
| ) |
const |
|
inline |
◆ swap
The documentation for this class was generated from the following file: