Package cpyamf :: Module util :: Class BufferedByteStream
[hide private]
[frames] | no frames]

Class BufferedByteStream


Instance Methods [hide private]
 
__add__(...)
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__len__(x)
len(x)
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__radd__(x, y)
y+x
 
at_eof(...)
 
close(...)
 
consume(...)
Chops the tail off the stream starting at 0 and ending at tell().
 
flush(...)
 
getvalue(...)
 
peek(...)
 
read(...)
 
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(...)
 
read_double(...)
 
read_float(...)
 
read_long(...)
 
read_short(...)
 
read_uchar(...)
 
read_ulong(...)
 
read_ushort(...)
 
read_utf8_string(...)
 
readline(...)
 
readlines(...)
 
remaining(...)
 
seek(...)
 
tell(...)
 
truncate(...)
 
write(...)
 
write_24bit_int(...)
Writes a 24 bit integer to the stream.
 
write_24bit_uint(...)
Writes a 24 bit unsigned integer to the stream.
 
write_char(...)
 
write_double(...)
 
write_float(...)
 
write_long(...)
 
write_short(...)
 
write_uchar(...)
 
write_ulong(...)
 
write_ushort(...)
 
write_utf8_string(...)
 
writelines(...)

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

Properties [hide private]
  endian

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

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

consume(...)

 

Chops the tail off the stream starting at 0 and ending at tell(). The stream pointer is set to 0 at the end of this function.

Since: 0.4

read_24bit_int(...)

 

Reads a 24 bit integer from the stream.

Since: 0.4

read_24bit_uint(...)

 

Reads a 24 bit unsigned integer from the stream.

Since: 0.4