GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/slice/slice_string_helpers.h"
#include <string.h>
#include <grpc/support/log.h>
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/slice/slice_internal.h"
Functions | |
char * | grpc_dump_slice (const grpc_slice &s, uint32_t flags) |
grpc_slice | grpc_dump_slice_to_slice (const grpc_slice &s, uint32_t flags) |
void | grpc_slice_split (grpc_slice str, const char *sep, grpc_slice_buffer *dst) |
Split str by the separator sep. More... | |
void | grpc_slice_split_without_space (grpc_slice str, const char *sep, grpc_slice_buffer *dst) |
Split str by the separator sep and remove the leading and trailing spaces of each resulting token. More... | |
bool | grpc_parse_slice_to_uint32 (grpc_slice str, uint32_t *result) |
char* grpc_dump_slice | ( | const grpc_slice & | s, |
uint32_t | flags | ||
) |
grpc_slice grpc_dump_slice_to_slice | ( | const grpc_slice & | s, |
uint32_t | flags | ||
) |
bool grpc_parse_slice_to_uint32 | ( | grpc_slice | str, |
uint32_t * | result | ||
) |
void grpc_slice_split | ( | grpc_slice | str, |
const char * | sep, | ||
grpc_slice_buffer * | dst | ||
) |
Split str by the separator sep.
Results are stored in dst, which should be a properly initialized instance.
void grpc_slice_split_without_space | ( | grpc_slice | str, |
const char * | sep, | ||
grpc_slice_buffer * | dst | ||
) |
Split str by the separator sep and remove the leading and trailing spaces of each resulting token.
Results are stored in dst, which should be a properly initialized instance.