encodings.idna.StreamReader.seek

StreamReader.seek(offset, whence=0)[source]

Set the input stream’s current position.

Resets the codec buffers used for keeping state.