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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user