GRPC C++  1.26.0
Public Member Functions
grpc_core::ExternallyManagedSlice Struct Reference

#include <slice_utils.h>

Public Member Functions

 ExternallyManagedSlice ()
 
 ExternallyManagedSlice (const char *s)
 
 ExternallyManagedSlice (const void *s, size_t len)
 
 ExternallyManagedSlice (grpc_slice_refcount *ref, size_t length, uint8_t *bytes)
 
bool operator== (const grpc_slice &other) const
 
bool operator!= (const grpc_slice &other) const
 
uint32_t Hash ()
 
- Public Member Functions inherited from grpc_core::UnmanagedMemorySlice
 UnmanagedMemorySlice ()
 
 UnmanagedMemorySlice (const char *source)
 
 UnmanagedMemorySlice (const char *source, size_t length)
 
 UnmanagedMemorySlice (size_t length)
 
 UnmanagedMemorySlice (size_t length, const ForceHeapAllocation &)
 

Additional Inherited Members

- Public Types inherited from grpc_core::UnmanagedMemorySlice
enum class  ForceHeapAllocation
 
- Data Fields inherited from grpc_slice
struct grpc_slice_refcountrefcount
 
union grpc_slice::grpc_slice_data data
 

Constructor & Destructor Documentation

◆ ExternallyManagedSlice() [1/4]

grpc_core::ExternallyManagedSlice::ExternallyManagedSlice ( )
inline

◆ ExternallyManagedSlice() [2/4]

grpc_core::ExternallyManagedSlice::ExternallyManagedSlice ( const char *  s)
inlineexplicit

◆ ExternallyManagedSlice() [3/4]

grpc_core::ExternallyManagedSlice::ExternallyManagedSlice ( const void *  s,
size_t  len 
)
inline

◆ ExternallyManagedSlice() [4/4]

grpc_core::ExternallyManagedSlice::ExternallyManagedSlice ( grpc_slice_refcount ref,
size_t  length,
uint8_t *  bytes 
)
inline

Member Function Documentation

◆ Hash()

uint32_t grpc_core::ExternallyManagedSlice::Hash ( )
inline

◆ operator!=()

bool grpc_core::ExternallyManagedSlice::operator!= ( const grpc_slice other) const
inline

◆ operator==()

bool grpc_core::ExternallyManagedSlice::operator== ( const grpc_slice other) const
inline

The documentation for this struct was generated from the following file: