Helper functions for working with grpc::ByteBuffer
Definition in file byte_buffer_utils.hpp.
Go to the source code of this file.
#include <cstddef>#include <google/protobuf/message.h>#include <grpcpp/support/byte_buffer.h>Namespaces | |
| namespace | ugrpc |
| Asynchronous gRPC driver. | |
Functions | |
| grpc::ByteBuffer | ugrpc::SerializeToByteBuffer (const ::google::protobuf::Message &message, std::size_t block_size=kDefaultSerializeBlockSize) |
| Serialize a Protobuf message to the wire format. | |
| bool | ugrpc::ParseFromByteBuffer (grpc::ByteBuffer &&buffer, ::google::protobuf::Message &message) |
| Parse a Protobuf message from the wire format. | |
Variables | |
| constexpr std::size_t | ugrpc::kDefaultSerializeBlockSize = 4096 |