19 #ifndef GRPC_CORE_LIB_SLICE_SLICE_STRING_HELPERS_H 20 #define GRPC_CORE_LIB_SLICE_SLICE_STRING_HELPERS_H
void grpc_slice_split(grpc_slice str, const char *sep, grpc_slice_buffer *dst)
Split str by the separator sep.
Definition: slice_string_helpers.cc:114
char * grpc_dump_slice(const grpc_slice &slice, uint32_t flags)
Definition: slice_string_helpers.cc:31
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
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...
Definition: slice_string_helpers.cc:118
grpc_slice grpc_dump_slice_to_slice(const grpc_slice &slice, uint32_t flags)
Definition: slice_string_helpers.cc:36
bool grpc_parse_slice_to_uint32(grpc_slice str, uint32_t *result)
Definition: slice_string_helpers.cc:123