MySQL 9.1.0
Source Code Documentation
net::tls::FlexibleBuffer Class Reference

#include <flexible_buffer.h>

Inheritance diagram for net::tls::FlexibleBuffer:
[legend]

Public Member Functions

 FlexibleBuffer () noexcept
 
 FlexibleBuffer (void *p, size_t n) noexcept
 
 FlexibleBuffer (FlexibleBuffer &&fb) noexcept
 
 FlexibleBuffer (const FlexibleBuffer &fb) noexcept
 
 FlexibleBuffer (const net::mutable_buffer &b) noexcept
 
void * data_used () const noexcept
 
void * data_free () const
 
size_t size_free () const
 
size_t size_used () const
 
size_t size_full () const
 
void reset ()
 
const FlexibleBufferbegin () const
 
const FlexibleBufferend () const
 
bool pop (size_t v) noexcept
 
bool push (size_t v) noexcept
 

Protected Attributes

void * data_ {nullptr}
 
size_t size_ {0}
 
size_t full_size_ {0}
 

Constructor & Destructor Documentation

◆ FlexibleBuffer() [1/5]

net::tls::FlexibleBuffer::FlexibleBuffer ( )
inlinenoexcept

◆ FlexibleBuffer() [2/5]

net::tls::FlexibleBuffer::FlexibleBuffer ( void *  p,
size_t  n 
)
inlinenoexcept

◆ FlexibleBuffer() [3/5]

net::tls::FlexibleBuffer::FlexibleBuffer ( FlexibleBuffer &&  fb)
inlinenoexcept

◆ FlexibleBuffer() [4/5]

net::tls::FlexibleBuffer::FlexibleBuffer ( const FlexibleBuffer fb)
inlinenoexcept

◆ FlexibleBuffer() [5/5]

net::tls::FlexibleBuffer::FlexibleBuffer ( const net::mutable_buffer b)
inlinenoexcept

Member Function Documentation

◆ begin()

const FlexibleBuffer * net::tls::FlexibleBuffer::begin ( ) const
inline

◆ data_free()

void * net::tls::FlexibleBuffer::data_free ( ) const
inline

◆ data_used()

void * net::tls::FlexibleBuffer::data_used ( ) const
inlinenoexcept

◆ end()

const FlexibleBuffer * net::tls::FlexibleBuffer::end ( ) const
inline

◆ pop()

bool net::tls::FlexibleBuffer::pop ( size_t  v)
inlinenoexcept

◆ push()

bool net::tls::FlexibleBuffer::push ( size_t  v)
inlinenoexcept

◆ reset()

void net::tls::FlexibleBuffer::reset ( )
inline

◆ size_free()

size_t net::tls::FlexibleBuffer::size_free ( ) const
inline

◆ size_full()

size_t net::tls::FlexibleBuffer::size_full ( ) const
inline

◆ size_used()

size_t net::tls::FlexibleBuffer::size_used ( ) const
inline

Member Data Documentation

◆ data_

void* net::tls::FlexibleBuffer::data_ {nullptr}
protected

◆ full_size_

size_t net::tls::FlexibleBuffer::full_size_ {0}
protected

◆ size_

size_t net::tls::FlexibleBuffer::size_ {0}
protected

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