34 #ifndef GRPCXX_SUPPORT_SLICE_H 
   35 #define GRPCXX_SUPPORT_SLICE_H 
   37 #include <grpc/support/slice.h> 
   67     std::swap(slice_, other.slice_);
 
   72   size_t size()
 const { 
return GPR_SLICE_LENGTH(slice_); }
 
   75   const gpr_uint8* 
begin()
 const { 
return GPR_SLICE_START_PTR(slice_); }
 
   78   const gpr_uint8* 
end()
 const { 
return GPR_SLICE_END_PTR(slice_); }
 
   88 #endif  // GRPCXX_SUPPORT_SLICE_H 
const gpr_uint8 * end() const 
Raw pointer to the end (one byte past the last element) of the slice. 
Definition: slice.h:78
 
StealRef
Definition: slice.h:58
 
A wrapper around grpc_slice. 
Definition: slice.h:47
 
const gpr_uint8 * begin() const 
Raw pointer to the beginning (first element) of the slice. 
Definition: slice.h:75
 
#define GRPC_FINAL
Definition: config.h:71
 
Slice()
Construct an empty slice. 
 
size_t size() const 
Byte size. 
Definition: slice.h:72
 
Slice & operator=(Slice other)
Assignment, reference count is unchanged. 
Definition: slice.h:66
 
AddRef
Definition: slice.h:54
 
A sequence of bytes. 
Definition: byte_buffer.h:50