reset_data Method
Resets the values of all data and stream properties.
Syntax
def reset_data() -> None: ...
Remarks
This method resets the values of all data and stream properties. It is an easy way to reset the class's properties before another call to encode or decode. The input and output streams and the data and file properties will all be reset.