Resets any internal state the implementation has after a decode, to prepare it for reuse.
procedure reset