I provide a set of methods for reading binary data with ActionScript
3.0.
|
|
__init__(self,
decoder=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
bool
|
|
int
|
|
number
|
readDouble(self)
Reads an IEEE 754 double-precision floating point number from the
data stream. |
source code
|
|
number
|
readFloat(self)
Reads an IEEE 754 single-precision floating point number from the
data stream. |
source code
|
|
int
|
|
str
|
readMultiByte(self,
length,
charset)
Reads a multibyte string of specified length from the data stream
using the specified character set. |
source code
|
|
|
|
|
uint
|
|
uint
|
|
uint
|
|
uint
|
|
str
|
|
str
|
readUTFBytes(self,
length)
Reads a sequence of length UTF-8 bytes from the data
stream and returns a string. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|