#include "GnashSystemNetHeaders.h"
#include "log.h"
#include "GnashException.h"
#include "buffer.h"
#include "amf.h"
#include "element.h"
#include "amfutf8.h"
#include <boost/shared_ptr.hpp>
#include <string>
#include <vector>
#include <map>
#include <boost/cstdint.hpp>
Namespaces | |
namespace | cygnal |
Action Message Format specific classes of libamf. | |
Defines | |
#define | ENSUREBYTES(from, toofar, size) |
Functions | |
void * | cygnal::swapBytes (void *word, size_t size) |
Swap bytes in raw data. This only swaps bytes if the host byte order is little endian. | |
Variables | |
const char * | cygnal::amftype_str [] |
String representations of AMF0 data types. |
#define ENSUREBYTES | ( | from, | ||
toofar, | ||||
size | ||||
) |
{ \ if ( from+size >= toofar ) \ throw ParserException("Premature end of AMF stream"); \ }
ENSUREBYTES
from | The base address to check. | |
tooFar | The ending address that is one byte too many. | |
size | The number of bytes to check for: from to tooFar. |