Package cpyamf :: Module amf0 :: Class Encoder
[hide private]
[frames] | no frames]

Class Encoder


The AMF0 Encoder.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
serialiseString(...)
Similar to writeString but does not encode a type byte.
 
writeList(...)
Write array to the stream.
 
writeObject(...)
Write a Python object to the stream.

Inherited from codec.Encoder: __iter__, __next__, next, send, writeElement

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  context
  use_amf3

Inherited from codec.Codec: stream, strict, timezone_offset

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

serialiseString(...)

 

Similar to writeString but does not encode a type byte.

Overrides: codec.Encoder.serialiseString

writeList(...)

 

Write array to the stream.

Overrides: codec.Encoder.writeList

writeObject(...)

 

Write a Python object to the stream.

Parameters:
  • o - The object data to be encoded to the AMF0 data stream.
Overrides: codec.Encoder.writeObject