Determine the number of bytes available for reading.
std::size_t available() const; » more... std::size_t available( asio::error_code & ec) const; » more...