Determine the amount of data that may be read without blocking.
std::size_t in_avail(); » more... std::size_t in_avail( asio::error_code & ec); » more...