A sequence of bytes.
More...
#include <byte_buffer.h>
grpc::ByteBuffer::ByteBuffer |
( |
| ) |
|
|
inline |
Constuct an empty buffer.
grpc::ByteBuffer::ByteBuffer |
( |
const Slice * |
slices, |
|
|
size_t |
nslices |
|
) |
| |
Construct buffer from slices, of which there are nslices.
grpc::ByteBuffer::~ByteBuffer |
( |
| ) |
|
void grpc::ByteBuffer::Clear |
( |
| ) |
|
void grpc::ByteBuffer::Dump |
( |
std::vector< Slice > * |
slices | ) |
const |
Dump (read) the buffer contents into slices.
size_t grpc::ByteBuffer::Length |
( |
| ) |
const |
The documentation for this class was generated from the following file: