| 266 | /// Throws an exception on failure. |
| 267 | template <typename MutableBufferSequence> |
| 268 | std::size_t peek(const MutableBufferSequence& buffers) |
| 269 | { |
| 270 | return stream_impl_.peek(buffers); |
| 271 | } |
| 272 | |
| 273 | /// Peek at the incoming data on the stream. Returns the number of bytes read, |
| 274 | /// or 0 if an error occurred. |