D Documentation  
available
size_t available();

Returns the number of bytes that can be read immediately.
Network sockets, for example, return the number of bytes currently held in the buffer - reading more than this would require you to wait for further packets.
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.