Package pyamf :: Package util :: Class StringIOProxy
[hide private]
[frames] | no frames]

Class StringIOProxy

source code


I am a StringIO type object containing byte data from the AMF stream.


See Also:
ByteArray on OSFlash (external), Parsing ByteArrays on OSFlash (external)
Instance Methods [hide private]
 
_wrapped_class(s=...)
Return a StringIO-like stream for reading or writing
 
__init__(self, buf=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
close(self) source code
 
flush(self) source code
 
getvalue(self) source code
 
next(self) source code
 
read(self, n=-1) source code
 
readline(self) source code
 
readlines(self, sizehint=0) source code
 
seek(self, pos, mode=0) source code
 
tell(self) source code
 
truncate(self, size=0) source code
 
write(self, s) source code
 
writelines(self, iterable) source code
 
_get_len(self) source code
 
__len__(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, buf=None)
(Constructor)

source code 

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

Raises:
  • TypeError - Unable to coerce buf to StringIO.
Overrides: object.__init__

readlines(self, sizehint=0)

source code 
Parameters:
  • sizehint (int)

Note: This function does not consume the buffer.