|
__init__(self,
data=None)
Call with data to read from it, or with None to write to it |
source code
|
|
|
reset(self,
data=None)
Call with data to read from it, or with None to write to it |
source code
|
|
|
getcurrentoffset(self)
Returns distance into data we are |
source code
|
|
|
setcurrentoffset(self,
ofs)
Set the current offset |
source code
|
|
|
peeknextbyte(self,
howmuch=0)
Returns value of next byte, but doesn't advance position |
source code
|
|
|
|
|
getnextbytes(self,
howmany)
Returns howmany bytes |
source code
|
|
|
|
|
getremainingbytes(self)
Returns rest of buffer |
source code
|
|
|
discardnextbytes(self,
howmany)
Discards howmany bytes |
source code
|
|
|
discardremainingbytes(self)
Discards the rest of the buffer |
source code
|
|
|
|
|
howmuchmore(self)
Returns how many bytes left |
source code
|
|
|
|
|
|
|
getvalue(self)
Returns the buffer being built |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|