Return the current state of the encoder.
codecs/IncrementalEncoder.getstate
IncrementalEncoder.getstate