String.getBytes()
名称
String.getBytes()
説明
Stringオブジェクト内の文字列を、与えられたバッファ(文字配列)にコピーする。
書式
void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const;
引数
| buf | String内の文字列をコピーするための文字配列。 |
| bufsize |
|
| index |
|
戻り値
なし。
参照
オリジナルのページ
https://docs.arduino.cc/language-reference/en/variables/data-types/stringObject/Functions/getBytes/
最終更新日
July 22, 2026