#include <typedarray.h>
Public Member Functions | |
| Uint8Array (int size=0, unsigned char *data=nullptr, bool copy=true) | |
| Uint8Array (const std::initializer_list< unsigned char > &array) | |
Public Member Functions inherited from cil::TypedArray< unsigned char > | |
| TypedArray () | |
| virtual | ~TypedArray () |
| const unsigned char & | operator[] (int index) const |
| unsigned char & | operator[] (int index) |
| void | set (int size, unsigned char *data=nullptr, bool copy=true) |
| void | clear () |
| int | size () const |
| unsigned char * | data () |
| const unsigned char * | data () const |
Public Member Functions inherited from cil::ArrayBuffer | |
| ArrayBuffer () | |
| virtual | ~ArrayBuffer () |
Public Member Functions inherited from cil::Variant | |
| Variant () | |
| virtual | ~Variant () |
| const std::string & | type () const |
Additional Inherited Members | |
Protected Attributes inherited from cil::TypedArray< unsigned char > | |
| unsigned char * | m_data |
| int | m_size |
Protected Attributes inherited from cil::Variant | |
| std::string | m_type |
| cil::Uint8Array::Uint8Array | ( | int | size = 0, |
| unsigned char * | data = nullptr, | ||
| bool | copy = true ) |
| cil::Uint8Array::Uint8Array | ( | const std::initializer_list< unsigned char > & | array | ) |