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

Commiteaab14d

Browse files
Add String::concat(const uint8_t *, unsigned int) version
This just calls the char* version, but allows calling the method with auint8_t* as well (which is not uncommon for buffers).
1 parentdd236bf commiteaab14d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎api/String.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class String
111111
unsignedcharconcat(const String &str);
112112
unsignedcharconcat(constchar *cstr);
113113
unsignedcharconcat(constchar *cstr,unsignedint length);
114+
unsignedcharconcat(constuint8_t *cstr,unsignedint length) {returnconcat((constchar*)cstr, length);}
114115
unsignedcharconcat(char c);
115116
unsignedcharconcat(unsignedchar num);
116117
unsignedcharconcat(int num);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp