Arduino Function: FileIO.size

Description

Check if there are any bytes available for reading from the file. available() inherits from the Stream utility class. This communicates with the Linux distribution through Bridge. While functionally similar to the SD library, the underlying code and connections are different.

Syntax

file.available()

Parameters

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

Returns

 int : the number of bytes available


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc