Module amf0
source code
AMF0 implementation.
AMF0 supports the basic data types used for the
NetConnection, NetStream, LocalConnection, SharedObjects and other
classes in the Adobe Flash Player.
|
|
Context
|
|
|
Decoder
Decodes an AMF0 stream.
|
|
|
Encoder
Encodes an AMF0 stream.
|
|
|
RecordSet
I represent the RecordSet class used in Adobe Flash
Remoting to hold (amongst other things) SQL records.
|
|
|
_check_for_int(x)
This is a compatibility function that takes a float and
converts it to an int if the values are equal. |
source code
|
|
|
|
TYPE_NUMBER = '\x00'
|
|
|
TYPE_BOOL = '\x01'
|
|
|
TYPE_STRING = '\x02'
|
|
|
TYPE_OBJECT = '\x03'
|
|
|
TYPE_MOVIECLIP = '\x04'
|
|
|
TYPE_NULL = '\x05'
|
|
|
TYPE_UNDEFINED = '\x06'
|
|
|
TYPE_REFERENCE = '\x07'
|
|
|
TYPE_MIXEDARRAY = '\x08'
|
|
|
TYPE_OBJECTTERM = '\t'
|
|
|
TYPE_ARRAY = '\n'
|
|
|
TYPE_DATE = '\x0b'
|
|
|
TYPE_LONGSTRING = '\x0c'
|
|
|
TYPE_UNSUPPORTED = '\r'
|
|
|
TYPE_RECORDSET = '\x0e'
|
|
|
TYPE_XML = '\x0f'
|
|
|
TYPE_TYPEDOBJECT = '\x10'
|
|
|
TYPE_AMF3 = '\x11'
|
|
|
__package__ = 'pyamf'
|
Imports:
datetime,
pyamf,
util,
codec,
xml,
python