type BufferedIncrementalDecoder
object --+
|
IncrementalDecoder --+
|
BufferedIncrementalDecoder
- Known Subclasses:
-
This subclass of IncrementalDecoder can be used as the baseclass for
an incremental decoder if the decoder must be able to handle incomplete
byte sequences.
|
__init__(self,
errors=' strict ' )
Creates a IncrementalDecoder instance. |
|
|
|
_buffer_decode(self,
input,
errors,
final) |
|
|
|
decode(self,
input,
final=False)
Decodes input and returns the resulting object. |
|
|
|
reset(self)
Resets the decoder to the initial state. |
|
|
__init__(self,
errors=' strict ' )
(Constructor)
|
|
Creates a IncrementalDecoder instance.
The IncrementalDecoder may use different error handling schemes by
providing the errors keyword argument. See the module docstring for a
list of possible values.
- Overrides:
IncrementalDecoder.__init__
- (inherited documentation)
|
decode(self,
input,
final=False)
|
|
Decodes input and returns the resulting object.
- Overrides:
IncrementalDecoder.decode
- (inherited documentation)
|