| Home | Trees | Indices | Help |
|
|---|
|
|
Encodes an AMF0 stream.
|
|||
type or types.ClassType
|
context_class Holds the class that will create context objects for the implementing Encoder.
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
callable or None.
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
list
|
type_map = A list of types -> functions. |
||
|
|||
bool
|
use_amf3 A flag to determine whether this encoder knows about AMF3. |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Writes the type to the stream.
|
Writes the undefined data type to the stream.
|
Functions cannot be serialised.
|
Writes unsupported data type to the stream.
|
Gets a function based on the type of data.
See Also: pyamf.BaseEncoder._writeElementFunc |
Writes the data.
|
Write null type to data stream.
|
Write array to the stream.
|
Write number to the data stream.
|
Write boolean to the data stream.
|
Write string to the data stream.
|
Write reference to the data stream.
|
Write
|
Write mixed array to the data stream.
|
Write object to the stream.
|
Writes a date to the data stream.
|
Write XML to the data stream.
|
Writes an element to the datastream in AMF3 format.
|
|
|||
type_mapA list of types -> functions. The types is a list of possible instances or functions to call (that return abool) to
determine the correct function to call to encode the data.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Sep 7 23:17:44 2009 | http://epydoc.sourceforge.net |