MySQL 9.1.0
Source Code Documentation
net::dynamic_vector_buffer< T, Allocator > Class Template Reference

#include <buffer.h>

Inheritance diagram for net::dynamic_vector_buffer< T, Allocator >:
[legend]

Additional Inherited Members

- Public Types inherited from net::impl::dynamic_buffer_base< std::vector< T, Allocator > >
using const_buffers_type = const_buffer
 
using mutable_buffers_type = mutable_buffer
 
- Public Member Functions inherited from net::impl::dynamic_buffer_base< std::vector< T, Allocator > >
 dynamic_buffer_base (std::vector< T, Allocator > &v) noexcept
 
 dynamic_buffer_base (std::vector< T, 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...
 

The documentation for this class was generated from the following file: