PyDocs

Nav

Binary Data Services

IncrementalDecoder.getstate

  • IncrementalDecoder.getstate()
Return the current state of the decoder.

This must be a (buffered_input, additional_state_info) tuple.
buffered_input must be a bytes object containing bytes that
were passed to decode() that have not yet been converted.
additional_state_info must be a non-negative integer
representing the state of the decoder WITHOUT yet having
processed the contents of buffered_input.  In the initial state
and after reset(), getstate() must return (b"", 0).
0 Examples
No examples for codecs/IncrementalDecoder.getstate.
See Also
No see-alsos for codecs/IncrementalDecoder.getstate
0 Notes
No notes for IncrementalDecoder.getstate