MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Blob Class Reference

#include <common.h>

Public Member Functions

 Blob (const byte *ptr, const size_t len)
 Blob (const char *str)
byte * ptr () const
size_t len () const
byte & operator[] (unsigned pos) const
bool is_null () const
void trim (size_t l)

Detailed Description

Class representing a region of memory (e.g., a string or binary buffer).

Note
This class does not allocate memory. It merely describes a region of memory which must be allocated externally (if it is dynamic memory).

Definition at line 160 of file common.h.


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