|
|
|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
append(...)
Append data to the end of the stream. |
|
|
bool
|
at_eof(...)
Returns True if the internal pointer is at the end of
the stream. |
|
|
|
close(...)
Close the stream. |
|
|
|
consume(...)
Chops the tail off the stream starting at 0 and ending at
tell() . |
|
|
|
|
|
getvalue(...)
Get raw data from buffer. |
|
|
|
peek(...)
Looks size bytes ahead in the stream, returning what it
finds, returning the stream pointer to its initial position. |
|
|
|
read(...)
Reads size bytes from the stream. |
|
|
|
read_24bit_int(...)
Reads a 24 bit integer from the stream. |
|
|
|
read_24bit_uint(...)
Reads a 24 bit unsigned integer from the stream. |
|
|
|
read_char(...)
Reads a char from the stream. |
|
|
|
read_double(...)
Reads an 8 byte float from the stream. |
|
|
|
read_float(...)
Reads a 4 byte float from the stream. |
|
|
|
read_long(...)
Reads a 4 byte integer from the stream. |
|
|
|
read_short(...)
Reads a 2 byte integer from the stream. |
|
|
|
read_uchar(...)
Reads an unsigned char from the stream. |
|
|
|
read_ulong(...)
Reads a 4 byte unsigned integer from the stream. |
|
|
|
read_ushort(...)
Reads a 2 byte unsigned integer from the stream. |
|
|
unicode
|
read_utf8_string(...)
Reads a UTF-8 string from the stream. |
|
|
number
|
remaining(...)
Returns number of remaining bytes. |
|
|
|
seek(...)
Sets the file-pointer offset, measured from the beginning of this
stream, at which the next write operation will occur. |
|
|
|
tell(...)
Returns the position of the stream pointer. |
|
|
|
truncate(...)
Truncates the stream to the specified length. |
|
|
|
write(...)
Writes the content of the specified x into this buffer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
write_long(...)
Writes a 4 byte integer to the stream. |
|
|
|
write_short(...)
Writes a 2 byte integer to the stream. |
|
|
|
write_uchar(...)
Writes an unsigned char to the stream. |
|
|
|
write_ulong(...)
Writes a 4 byte unsigned integer to the stream. |
|
|
|
write_ushort(...)
Writes a 2 byte unsigned integer to the stream. |
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|