Trees | Index | Help |
|
---|
Package phones :: Module com_brew :: Class EXTRAZERO |
|
object
--+ |BaseProtogenClass
--+ | EXTRAZERO
This is a special class used to consume the spurious zero in some p_brew.listfileresponse or p_brew.listdirectoryresponse
The two bytes are formatted as follows:Method Summary | |
---|---|
__init__(self,
*args,
**kwargs)
| |
Returns the string we are | |
Returns size in bytes that we occupy | |
Get our value from the buffer | |
Scribble ourselves to the buf | |
Inherited from BaseProtogenClass | |
| |
| |
Do we contain fields? | |
Returns tuple of begining,end offsets from last packet we were read or written from. | |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
getvalue(self)Returns the string we are
|
packetsize(self)Returns size in bytes that we occupy
|
readfrombuffer(self, buf)Get our value from the buffer
|
writetobuffer(self, buf)Scribble ourselves to the buf
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:23 2008 | http://epydoc.sf.net |