This subclass of IncrementalEncoder can be used as the baseclass for
an incremental encoder if the encoder must keep some of the output in a
buffer between calls to encode().
|
__init__(self,
errors=' strict ' )
Creates an IncrementalEncoder instance. |
|
|
|
_buffer_encode(self,
input,
errors,
final) |
|
|
|
encode(self,
input,
final=False)
Encodes input and returns the resulting object. |
|
|
|
reset(self)
Resets the encoder to the initial state. |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|