$search
#include <buffered_stream_storage.hpp>
Public Types | |
| typedef unsigned char | byte_type |
| typedef std::size_t | size_type |
Public Member Functions | |
| buffered_stream_storage (std::size_t capacity) | |
| size_type | capacity () const |
| void | clear () |
| Clear the buffer. | |
| void | consume (size_type count) |
| const byte_type * | data () const |
| byte_type * | data () |
| bool | empty () const |
| void | resize (size_type length) |
| size_type | size () const |
Private Attributes | |
| size_type | begin_offset_ |
| std::vector< byte_type > | buffer_ |
| size_type | end_offset_ |
Definition at line 31 of file buffered_stream_storage.hpp.
| typedef unsigned char asio::detail::buffered_stream_storage::byte_type |
Definition at line 35 of file buffered_stream_storage.hpp.
| typedef std::size_t asio::detail::buffered_stream_storage::size_type |
Definition at line 38 of file buffered_stream_storage.hpp.
| asio::detail::buffered_stream_storage::buffered_stream_storage | ( | std::size_t | capacity | ) | [inline, explicit] |
Definition at line 41 of file buffered_stream_storage.hpp.
| size_type asio::detail::buffered_stream_storage::capacity | ( | ) | const [inline] |
Definition at line 97 of file buffered_stream_storage.hpp.
| void asio::detail::buffered_stream_storage::clear | ( | ) | [inline] |
Clear the buffer.
Definition at line 49 of file buffered_stream_storage.hpp.
| void asio::detail::buffered_stream_storage::consume | ( | size_type | count | ) | [inline] |
Definition at line 103 of file buffered_stream_storage.hpp.
| const byte_type* asio::detail::buffered_stream_storage::data | ( | ) | const [inline] |
Definition at line 62 of file buffered_stream_storage.hpp.
| byte_type* asio::detail::buffered_stream_storage::data | ( | ) | [inline] |
Definition at line 56 of file buffered_stream_storage.hpp.
| bool asio::detail::buffered_stream_storage::empty | ( | ) | const [inline] |
Definition at line 68 of file buffered_stream_storage.hpp.
| void asio::detail::buffered_stream_storage::resize | ( | size_type | length | ) | [inline] |
Definition at line 80 of file buffered_stream_storage.hpp.
| size_type asio::detail::buffered_stream_storage::size | ( | ) | const [inline] |
Definition at line 74 of file buffered_stream_storage.hpp.
Definition at line 113 of file buffered_stream_storage.hpp.
std::vector<byte_type> asio::detail::buffered_stream_storage::buffer_ [private] |
Definition at line 119 of file buffered_stream_storage.hpp.
Definition at line 116 of file buffered_stream_storage.hpp.