GATE
gate::Blob Class Reference

Public Member Functions

 Blob (void const *data, size_t length)
 
 Blob (gate_blob_t const &blob)
 
 Blob (Blob const &src)
 
Bloboperator= (Blob const &src)
 
gate_blob_t const * c_impl () const noexcept
 
void swap (Blob &that) noexcept
 
Blob copy () const
 
Blob clone () const
 
Blob subset (size_t offset, size_t length) const noexcept
 
size_t length () const noexcept
 
void const * data () const noexcept
 
uint8_t getByte (size_t index) const noexcept
 
size_t getBytes (size_t index, void *buffer, size_t bufferCapacity) const noexcept
 
void setByte (size_t index, uint8_t byteValue)
 
size_t setBytes (size_t index, void const *buffer, size_t bufferLength)
 
uint8_t operator[] (size_t index) const noexcept
 
uint8_t & operator[] (size_t index)
 

Static Public Member Functions

static Blob createStatic (void const *data, size_t length)
 
static Blob createFrom (gate_blob_t &blob)
 
static void assign (gate_blob_t &target, gate_blob_t const &src)
 
static void assign (gate_blob_t &target, Blob const &src)
 

The documentation for this class was generated from the following files: