Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b88aca

Browse files
Make String::concat(const char *, unsigned int) public
This method is useful when receiving data from external sources thatpass an explicit length instead of a NUL-terminated string.
1 parent81a2d51 commit3b88aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎api/String.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class String
109109
// concatenation is considered unsucessful.
110110
unsignedcharconcat(const String &str);
111111
unsignedcharconcat(constchar *cstr);
112+
unsignedcharconcat(constchar *cstr,unsignedint length);
112113
unsignedcharconcat(char c);
113114
unsignedcharconcat(unsignedchar num);
114115
unsignedcharconcat(int num);
@@ -225,7 +226,6 @@ class String
225226
voidinit(void);
226227
voidinvalidate(void);
227228
unsignedcharchangeBuffer(unsignedint maxStrLen);
228-
unsignedcharconcat(constchar *cstr,unsignedint length);
229229

230230
// copy and move
231231
String &copy(constchar *cstr,unsignedint length);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp