On Fri Nov 11 12:35:24 2022 +0000, Nikolay Sivov wrote:
If this is going to be used for WriteChars() as well, we'll probably need to pass length/-1.
Yes, WriteChars will need a similar helper with the simple modification of passing the length but I thought I would have to write as entirely a different function because if we used the same helper for the four functions, we are going to have to lstrlenW input in cases where the user wants to write the whole string(Like is the case with WriteString/WriteRaw), something which AFAIK you're against.