BString: rename SetCharAt to SetByteAt

Makes it clear that it operates on bytes, not unicode codepoints.
Thanks to mmlr for remembering me of this subtlety.
This commit is contained in:
Adrien Destugues
2017-01-12 22:03:51 +01:00
parent 0c5219a1d6
commit bdd02e0d9d
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ public:
// Fast low-level manipulation
char* LockBuffer(int32 maxLength);
BString& UnlockBuffer(int32 length = -1);
BString& SetCharAt(int32 pos, char to);
BString& SetByteAt(int32 pos, char to);
// Upercase <-> Lowercase
BString& ToLower();