Does this help?

http://think-async.com/Asio/boost_asio_1_3_1/doc/html/boost_asio/reference/buffer.html#boost_asio.reference.buffer.accessing_buffer_contents