Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio streambuf
From: Igor R (boost.lists_at_[hidden])
Date: 2012-02-05 02:47:09


> Does anyone know a way of reading from an asio::streambuf without removing
> the bytes?

Use data() member function:
http://www.boost.org/doc/libs/1_49_0_beta1/doc/html/boost_asio/reference/streambuf.html


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net