size()

描述

取得档案的大小。

语法


file.size()

参数

file:被 SD.open() 回传的 File 物件

回传

unsigned long:档案的大小,单位为位元组


函式库参考主页面

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.