If decoding is not done, then emitting in single-quoted strings will be wrong, causing the event tests to fail. Eg: https://play.yaml.io/main/parser?input=LSAiXG5ceDBhIg== ```yaml - "\n\x0a" ``` Causes these events: ``` +STR +DOC +SEQ =VAL '\n\\x0a -SEQ -DOC -STR ```