Euphoria
|
eu::MemoryChunk Struct Reference
#include <memorychunk.h>
Public Member Functions | |
char * | get_data () |
const char * | get_data () const |
int | get_size () const |
char | operator[] (int index) const |
char & | operator[] (int index) |
Static Public Member Functions | |
static std::shared_ptr< MemoryChunk > | allocate (int size) |
static std::shared_ptr< MemoryChunk > | create_null () |
Detailed Description
Definition at line 8 of file memorychunk.h.
Member Function Documentation
◆ allocate()
|
static |
Definition at line 40 of file memorychunk.cc.
◆ create_null()
|
static |
Definition at line 47 of file memorychunk.cc.
◆ get_data() [1/2]
char * eu::MemoryChunk::get_data | ( | ) |
Definition at line 12 of file memorychunk.cc.
◆ get_data() [2/2]
const char * eu::MemoryChunk::get_data | ( | ) | const |
Definition at line 18 of file memorychunk.cc.
◆ get_size()
int eu::MemoryChunk::get_size | ( | ) | const |
Definition at line 24 of file memorychunk.cc.
◆ operator[]() [1/2]
char & eu::MemoryChunk::operator[] | ( | int | index | ) |
Definition at line 34 of file memorychunk.cc.
◆ operator[]() [2/2]
char eu::MemoryChunk::operator[] | ( | int | index | ) | const |
Definition at line 29 of file memorychunk.cc.
The documentation for this struct was generated from the following files:
- libs/base/src/base/memorychunk.h
- libs/base/src/base/memorychunk.cc