MySQL 8.4.2
Source Code Documentation
|
#include <buffer.h>
Additional Inherited Members | |
Public Types inherited from net::impl::dynamic_buffer_base< std::basic_string< CharT, Traits, Allocator > > | |
using | const_buffers_type = const_buffer |
using | mutable_buffers_type = mutable_buffer |
Public Member Functions inherited from net::impl::dynamic_buffer_base< std::basic_string< CharT, Traits, Allocator > > | |
dynamic_buffer_base (std::basic_string< CharT, Traits, Allocator > &v) noexcept | |
dynamic_buffer_base (std::basic_string< CharT, Traits, Allocator > &v, size_t max_size) noexcept | |
size_t | size () const noexcept |
number of bytes. More... | |
size_t | max_size () const noexcept |
max number of bytes. More... | |
size_t | capacity () const noexcept |
max number of bytes without requiring reallocation. More... | |
const_buffers_type | data (size_t pos, size_t n) const noexcept |
mutable_buffers_type | data (size_t pos, size_t n) |
void | grow (size_t n) |
append bytes at the end. More... | |
void | shrink (size_t n) |
remove bytes at the end. More... | |
void | consume (size_t n) |
remove bytes at the start. More... | |