Reference.StreamAvailable History

Hide minor edits - Show changes to markup

January 30, 2012, at 05:06 PM by Scott Fitzgerald -
Deleted line 23:
November 01, 2011, at 09:33 PM by Scott Fitzgerald -
Deleted line 0:
Changed lines 7-8 from:

This utility function is not publicly available, and is part of the Stream class.

to:

This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). See the Stream class main page for more information.

Syntax

stream.available()

Parameters

stream : an instance of a class that inherits from Stream.

Changed lines 18-19 from:

the number of bytes available to read

to:

int : the number of bytes available to read

October 31, 2011, at 03:26 AM by Scott Fitzgerald -
Added lines 1-17:

available()

Description

available() gets the number of bytes available in the stream. This is only for bytes that have already arrived.

This utility function is not publicly available, and is part of the Stream class.

Returns

the number of bytes available to read

See also

Reference Home

Share