Hide minor edits - Show changes to markup
This utility function is not publicly available, and is part of the Stream class.
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.
stream.available()
stream : an instance of a class that inherits from Stream.
the number of bytes available to read
int : the number of bytes available to read
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.
the number of bytes available to read