#include "GnashSystemNetHeaders.h"#include "GnashFileUtilities.h"#include "element.h"#include "amf.h"#include "buffer.h"#include "sol.h"#include "log.h"#include "GnashException.h"#include <boost/scoped_array.hpp>#include <boost/cstdint.hpp>#include <boost/shared_ptr.hpp>#include <cerrno>#include <string>#include <vector>#include <iostream>#include <fstream>#include <cassert>Namespaces | |
| namespace | cygnal |
Action Message Format specific classes of libamf. | |
Defines | |
| #define | ENSUREBYTES(from, toofar, size) |
Variables | |
| const short | SOL_MAGIC = 0x00bf |
| const short | SOL_BLOCK_MARK = 0x0004 |
| #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. |
Referenced by cygnal::SOL::readFile().
| const short SOL_BLOCK_MARK = 0x0004 |
Referenced by cygnal::SOL::formatHeader().
| const short SOL_MAGIC = 0x00bf |
Referenced by cygnal::SOL::formatHeader().
1.7.1