19 #ifndef GRPC_CORE_LIB_SURFACE_VALIDATE_METADATA_H 20 #define GRPC_CORE_LIB_SURFACE_VALIDATE_METADATA_H 32 if (length < 5)
return 0;
33 return 0 == memcmp(buf + length - 4,
"-bin", 4);
A grpc_slice s, if initialized, represents the byte range s.bytes[0..s.length-1]. ...
Definition: slice.h:60
Definition: error_internal.h:39
struct grpc_slice::grpc_slice_data::grpc_slice_refcounted refcounted
struct grpc_slice_refcount * refcount
Definition: slice.h:61
size_t length
Definition: slice.h:64
union grpc_slice::grpc_slice_data data
#define GPR_DEBUG_ASSERT(x)
Definition: log.h:103
uint8_t * bytes
Definition: slice.h:65