streambuf::in_avail

int in_avail() const;

Return Value

Returns the number of characters in the get area that are available for fetching. These characters are between the gptr and egptr pointers and may be fetched with a guarantee of no errors.

streambuf OverviewStream Buffer Classes