Module pure
source code
Provides the pure Python versions of BufferedByteStream.
Do not reference directly, use pyamf.util.BufferedByteStream instead.
|
|
StringIOProxy
I am a StringIO type object containing byte data from
the AMF stream.
|
|
|
DataTypeMixIn
Provides methods for reading and writing basic data types for
file-like objects.
|
|
|
BufferedByteStream
An extension of StringIO.
|
bool
|
is_float_broken()
Older versions of Python (<=2.5) and the Windows platform are
renowned for mixing up 'special' floats. |
source code
|
|
|
|
read_double_workaround(self)
Reads an 8 byte float from the stream. |
source code
|
|
|
|
|
|
|
x(self,
d)
Writes an 8 byte float to the stream. |
source code
|
|
|
|
SYSTEM_ENDIAN = '<'
|
|
|
__package__ = 'pyamf.util'
|
Imports:
struct,
StringIO,
python
|
Older versions of Python (<=2.5) and the Windows platform are
renowned for mixing up 'special' floats. This function determines whether
this is the case.
- Returns:
bool
|
|
Writes an 8 byte float to the stream.
- Parameters:
- Raises:
TypeError - Unexpected type for float d.
|
|
Writes an 8 byte float to the stream.
- Parameters:
- Raises:
TypeError - Unexpected type for float d.
|