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 |
( |
const ByteBuffer & |
buf | ) |
|
Constuct a byte buffer by referencing elements of existing buffer buf.
Wrapper of core function grpc_byte_buffer_copy
| grpc::ByteBuffer::~ByteBuffer |
( |
| ) |
|
| void grpc::ByteBuffer::Clear |
( |
| ) |
|
| Status 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: