Public Member Functions | Private Attributes | List of all members
SSLBuffer Class Reference

#include <internal.h>

Public Member Functions

size_t cap () const
 
void Clear ()
 
void Consume (size_t len)
 
uint8_tdata ()
 
void DidWrite (size_t len)
 
void DiscardConsumed ()
 
bool empty () const
 
bool EnsureCap (size_t header_len, size_t new_cap)
 
SSLBufferoperator= (const SSLBuffer &)=delete
 
Span< uint8_tremaining ()
 
size_t size () const
 
Span< uint8_tspan ()
 
 SSLBuffer ()
 
 SSLBuffer (const SSLBuffer &)=delete
 
 ~SSLBuffer ()
 

Private Attributes

uint8_tbuf_ = nullptr
 
bool buf_allocated_ = false
 
uint16_t cap_ = 0
 
uint8_t inline_buf_ [SSL3_RT_HEADER_LENGTH]
 
uint16_t offset_ = 0
 
uint16_t size_ = 0
 

Detailed Description

Definition at line 1213 of file third_party/boringssl-with-bazel/src/ssl/internal.h.

Constructor & Destructor Documentation

◆ SSLBuffer() [1/2]

SSLBuffer::SSLBuffer ( )
inline

◆ ~SSLBuffer()

SSLBuffer::~SSLBuffer ( )
inline

◆ SSLBuffer() [2/2]

SSLBuffer::SSLBuffer ( const SSLBuffer )
delete

Member Function Documentation

◆ cap()

size_t SSLBuffer::cap ( ) const
inline

◆ Clear()

void SSLBuffer::Clear ( )

Definition at line 39 of file ssl_buffer.cc.

◆ Consume()

void SSLBuffer::Consume ( size_t  len)

Definition at line 109 of file ssl_buffer.cc.

◆ data()

uint8_t* SSLBuffer::data ( )
inline

◆ DidWrite()

void SSLBuffer::DidWrite ( size_t  len)

Definition at line 102 of file ssl_buffer.cc.

◆ DiscardConsumed()

void SSLBuffer::DiscardConsumed ( )

Definition at line 118 of file ssl_buffer.cc.

◆ empty()

bool SSLBuffer::empty ( ) const
inline

◆ EnsureCap()

bool SSLBuffer::EnsureCap ( size_t  header_len,
size_t  new_cap 
)

Definition at line 50 of file ssl_buffer.cc.

◆ operator=()

SSLBuffer& SSLBuffer::operator= ( const SSLBuffer )
delete

◆ remaining()

Span<uint8_t> SSLBuffer::remaining ( )
inline

◆ size()

size_t SSLBuffer::size ( ) const
inline

◆ span()

Span<uint8_t> SSLBuffer::span ( )
inline

Member Data Documentation

◆ buf_

uint8_t* SSLBuffer::buf_ = nullptr
private

◆ buf_allocated_

bool SSLBuffer::buf_allocated_ = false
private

◆ cap_

uint16_t SSLBuffer::cap_ = 0
private

◆ inline_buf_

uint8_t SSLBuffer::inline_buf_[SSL3_RT_HEADER_LENGTH]
private

◆ offset_

uint16_t SSLBuffer::offset_ = 0
private

◆ size_

uint16_t SSLBuffer::size_ = 0
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:48