#include <GAFData.h>
Public Member Functions | |
GAFData (unsigned char *_ptr, int _size, bool _delete_data=false) | |
unsigned char * | getBytes () const |
unsigned long | getSize () const |
Public Attributes | |
unsigned long | size |
unsigned char * | ptr |
bool | delete_data |
Simple NSData-like class for internal usage. Made public since it can be useful for GAF Marmalade users. It does NOT release memory by default - be careful. By default it does NOT own data!!!
|
inline |
By default GAFData does NOT release memory. However, it is possible to delete internal array in destructor.
deleteData | - delete internal array in destructor or not |