Get a list of buffers that represents the input sequence. * @returns An object of type @c const_buffers_type that satisfies * ConstBufferSequence requirements, representing all character arrays in the * input sequence. * * @note The returned object is invalidated by any @c basic_streambuf member * function that modifies the input sequence or output sequence. */
| 192 | * function that modifies the input sequence or output sequence. |
| 193 | */ |
| 194 | const_buffers_type data() const noexcept |
| 195 | { |
| 196 | return boost::asio::buffer(boost::asio::const_buffer(gptr(), |
| 197 | (pptr() - gptr()) * sizeof(char_type))); |
| 198 | } |
| 199 | |
| 200 | /// Get a list of buffers that represents the output sequence, with the given |
| 201 | /// size. |
no test coverage detected