file.available()

[SD]

説明

Check if there are any bytes available for reading from the file.

available() inherits from the Stream utility class.

構文

file.available()

媒介変数

file: an instance of the File class (returned by SD.open())

戻り値

the number of bytes available (int)

See Also


ライブラリリファレンスホーム

86Duinoリファレンスのテキストは、Arduinoリファレンスを改変したもので、Creative Commons Attribution-ShareAlike 3.0ライセンスに基づいてライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

上部へスクロール