Maybe shorten tscannerfile.readstring a bit.
[readstring.patch](/uploads/53107602ad46b3e85c772ffb99af35f6/readstring.patch)
No effect on speed (and its performance is dominated by `reload`s anyway), no effect on executable size (though with `QueryPerformanceCounter`s inserted I had −500 bytes, so might vary), −15 lines of code.
issue