Reference.FileAvailable History
Hide minor edits - Show changes to output
November 04, 2011, at 01:11 PM
by Scott Fitzgerald -
Added lines 7-8:
available() inherits from the [[Reference/Stream]] utility class.
Changed lines 25-26 from:
to:
* [[/Reference/StreamAvailable | Stream.available()]]
December 22, 2010, at 05:53 PM
by David A. Mellis -
Changed lines 17-18 from:
1 if there is at least one byte available, 0 otherwise
to:
the number of bytes available (''int'')
November 21, 2010, at 01:19 PM
by David A. Mellis -
Added lines 1-23:
[[SD]] : ''File'' class
!!available()
Check if there are any bytes available for reading from the file.
!!!!Syntax
''file''.available()
!!!!Parameters
''file'': an instance of the File class (returned by [[SDopen | SD.open()]])
!!!!Returns
1 if there is at least one byte available, 0 otherwise
!!!!See Also
* [[FileRead | read()]]
* [[FilePeek | peek()]]