Arduino Function: FileIO.position

Description

This function gets the size of the current file. This communicates with the Linux distribution through Bridge. While functionally similar to the SD library, the underlying code and connections are different.

Syntax

file.size()

Parameters

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

Returns

 unsigned long : the size of the file in bytes


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