File::write()

名称

File::write()

説明

ファイルパスの現在位置にコンテンツを書き込む。

書式

#include <FS.h>

size_t File::write(uint8_t c)
size_t File::write(const uint8_t *buf, size_t size);

引数

c書き込むコンテンツ。
buf書き込むコンテンツ。
size書き込むサイズ。

戻り値

書き込んだバイト数。

使用例

バージョン

Hardware:ESP-WROOM-32
Software:Arduino core for the ESP32 2.0.4

最終更新日

September 4, 2022

inserted by FC2 system