#include <flashutils.h>
Inherits lightspark::ASObject.
Inherited by lightspark::DefineBinaryDataTag.

Public Member Functions | |
| ByteArray () | |
| ~ByteArray () | |
| ASFUNCTION (_getBytesAvailable) | |
| ASFUNCTION (_getLength) | |
| ASFUNCTION (_getPosition) | |
| ASFUNCTION (_setPosition) | |
| ASFUNCTION (readBytes) | |
| void | acquireBuffer (uint8_t *buf, int bufLen) |
| uint8_t * | getBuffer (unsigned int size) |
| ASObject * | getVariableByQName (const tiny_string &name, const tiny_string &ns, bool skip_impl=false) |
| ASObject * | getVariableByMultiname (const multiname &name, bool skip_impl=false, bool enableOverride=true, ASObject *base=NULL) |
| intptr_t | getVariableByMultiname_i (const multiname &name) |
| void | setVariableByQName (const tiny_string &name, const tiny_string &ns, ASObject *o, bool skip_impl=false) |
| void | setVariableByMultiname (const multiname &name, ASObject *o, bool enableOverride=true, ASObject *base=NULL) |
| void | setVariableByMultiname_i (const multiname &name, intptr_t value) |
| bool | isEqual (ASObject *r) |
Static Public Member Functions | |
| static void | sinit (Class_base *c) |
| static void | buildTraits (ASObject *o) |
Protected Member Functions | |
| ByteArray (const ByteArray &b) | |
Protected Attributes | |
| uint8_t * | bytes |
| unsigned int | len |
| unsigned int | position |
Friends | |
| class | Loader |
| class | URLLoader |
Definition at line 35 of file flashutils.h.
| ByteArray::ByteArray | ( | const ByteArray & | b | ) | [protected] |
Definition at line 41 of file flashutils.cpp.
| ByteArray::ByteArray | ( | ) |
Definition at line 37 of file flashutils.cpp.
| ByteArray::~ByteArray | ( | ) |
Definition at line 48 of file flashutils.cpp.
| void ByteArray::acquireBuffer | ( | uint8_t * | buf, | |
| int | bufLen | |||
| ) |
Definition at line 214 of file flashutils.cpp.
| lightspark::ByteArray::ASFUNCTION | ( | readBytes | ) |
| lightspark::ByteArray::ASFUNCTION | ( | _setPosition | ) |
| lightspark::ByteArray::ASFUNCTION | ( | _getPosition | ) |
| lightspark::ByteArray::ASFUNCTION | ( | _getLength | ) |
| lightspark::ByteArray::ASFUNCTION | ( | _getBytesAvailable | ) |
| void ByteArray::buildTraits | ( | ASObject * | o | ) | [static] |
Reimplemented from lightspark::ASObject.
Definition at line 62 of file flashutils.cpp.
| uint8_t * ByteArray::getBuffer | ( | unsigned int | size | ) |
Definition at line 66 of file flashutils.cpp.
| ASObject * ByteArray::getVariableByMultiname | ( | const multiname & | name, | |
| bool | skip_impl = false, |
|||
| bool | enableOverride = true, |
|||
| ASObject * | base = NULL | |||
| ) | [virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 127 of file flashutils.cpp.
| intptr_t ByteArray::getVariableByMultiname_i | ( | const multiname & | name | ) | [virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 140 of file flashutils.cpp.
| ASObject* lightspark::ByteArray::getVariableByQName | ( | const tiny_string & | name, | |
| const tiny_string & | ns, | |||
| bool | skip_impl = false | |||
| ) | [inline, virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 58 of file flashutils.h.
| bool ByteArray::isEqual | ( | ASObject * | r | ) | [virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 204 of file flashutils.cpp.
| void ByteArray::setVariableByMultiname | ( | const multiname & | name, | |
| ASObject * | o, | |||
| bool | enableOverride = true, |
|||
| ASObject * | base = NULL | |||
| ) | [virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 168 of file flashutils.cpp.
| void ByteArray::setVariableByMultiname_i | ( | const multiname & | name, | |
| intptr_t | value | |||
| ) | [virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 191 of file flashutils.cpp.
| void ByteArray::setVariableByQName | ( | const tiny_string & | name, | |
| const tiny_string & | ns, | |||
| ASObject * | o, | |||
| bool | skip_impl = false | |||
| ) | [virtual] |
Reimplemented from lightspark::ASObject.
Definition at line 151 of file flashutils.cpp.
| void ByteArray::sinit | ( | Class_base * | c | ) | [static] |
Reimplemented from lightspark::ASObject.
Definition at line 53 of file flashutils.cpp.
friend class Loader [friend] |
Definition at line 37 of file flashutils.h.
friend class URLLoader [friend] |
Definition at line 38 of file flashutils.h.
uint8_t* lightspark::ByteArray::bytes [protected] |
Definition at line 40 of file flashutils.h.
unsigned int lightspark::ByteArray::len [protected] |
Definition at line 41 of file flashutils.h.
unsigned int lightspark::ByteArray::position [protected] |
Definition at line 42 of file flashutils.h.
1.6.3