Agora  1.2.0
Agora project
SocketRxBuffer Class Reference

Public Member Functions

 SocketRxBuffer (size_t num_bytes)
 
 ~SocketRxBuffer ()=default
 
size_t DataSize () const
 
size_t StorageSize () const
 
std::byte * Rx ()
 
const std::byte * At (size_t location) const
 
void AddData (size_t data)
 
void RemoveData (size_t remove)
 

Private Attributes

size_t data_size_
 
SimdAlignByteVector data_
 

Constructor & Destructor Documentation

◆ SocketRxBuffer()

SocketRxBuffer::SocketRxBuffer ( size_t  num_bytes)
inlineexplicit

◆ ~SocketRxBuffer()

SocketRxBuffer::~SocketRxBuffer ( )
default

Member Function Documentation

◆ AddData()

void SocketRxBuffer::AddData ( size_t  data)
inline

◆ At()

const std::byte* SocketRxBuffer::At ( size_t  location) const
inline

◆ DataSize()

size_t SocketRxBuffer::DataSize ( ) const
inline

◆ RemoveData()

void SocketRxBuffer::RemoveData ( size_t  remove)
inline
Here is the call graph for this function:

◆ Rx()

std::byte* SocketRxBuffer::Rx ( )
inline

◆ StorageSize()

size_t SocketRxBuffer::StorageSize ( ) const
inline

Member Data Documentation

◆ data_

SimdAlignByteVector SocketRxBuffer::data_
private

◆ data_size_

size_t SocketRxBuffer::data_size_
private

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