encoder/decoder Reset() methods
change popReader() to use new Reset()