MySQL 9.1.0
Source Code Documentation
net::const_buffer Class Reference

#include <buffer.h>

Public Member Functions

 const_buffer () noexcept
 
 const_buffer (const void *p, size_t n) noexcept
 
 const_buffer (const mutable_buffer &b) noexcept
 
const void * data () const noexcept
 
size_t size () const noexcept
 
const_bufferoperator+= (size_t n) noexcept
 

Private Attributes

const void * data_
 
size_t size_
 

Constructor & Destructor Documentation

◆ const_buffer() [1/3]

net::const_buffer::const_buffer ( )
inlinenoexcept

◆ const_buffer() [2/3]

net::const_buffer::const_buffer ( const void *  p,
size_t  n 
)
inlinenoexcept

◆ const_buffer() [3/3]

net::const_buffer::const_buffer ( const mutable_buffer b)
inlinenoexcept

Member Function Documentation

◆ data()

const void * net::const_buffer::data ( ) const
inlinenoexcept

◆ operator+=()

const_buffer & net::const_buffer::operator+= ( size_t  n)
inlinenoexcept

◆ size()

size_t net::const_buffer::size ( ) const
inlinenoexcept

Member Data Documentation

◆ data_

const void* net::const_buffer::data_
private

◆ size_

size_t net::const_buffer::size_
private

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