Completely reset cached data

This commit is contained in:
Matt Nadareski
2024-11-02 19:53:21 -04:00
parent 955f4da708
commit 14226d1270

View File

@@ -294,6 +294,8 @@ namespace SabreTools.Serialization.Wrappers
// Reset cached data
sourceDataIndex = 0;
cachedString = string.Empty;
lastReadChar = string.Empty;
lastReadCharCount = 0;
// We are limiting the check for Unicode characters with a second byte of 0x00 for now