B2BITS FIX Antenna C++  2.27.1
Public Member Functions | Friends | List of all members
Engine::FastCoder::Buffer Class Reference

Buffer. More...

#include <B2BITS_FastCoder.h>

Public Member Functions

 Buffer ()
 Constructor. More...
 
 Buffer (std::size_t capacity)
 Constructor. More...
 
char const * getPtr () const
 Returns a pointer to the buffer. More...
 
std::size_t getSize () const
 Returns size of the buffer. More...
 
 ~Buffer ()
 Destructor. More...
 

Friends

class FastCoder
 

Detailed Description

Buffer.

Constructor & Destructor Documentation

◆ Buffer() [1/2]

Engine::FastCoder::Buffer::Buffer ( )

Constructor.

◆ Buffer() [2/2]

Engine::FastCoder::Buffer::Buffer ( std::size_t  capacity)

Constructor.

Parameters
[in]capacity- count of bytes that should be reserved.

◆ ~Buffer()

Engine::FastCoder::Buffer::~Buffer ( )

Destructor.

Member Function Documentation

◆ getPtr()

char const* Engine::FastCoder::Buffer::getPtr ( ) const
inline

Returns a pointer to the buffer.

Returns
a pointer to the buffer.

◆ getSize()

std::size_t Engine::FastCoder::Buffer::getSize ( ) const
inline

Returns size of the buffer.

Returns
size of the buffer.

Friends And Related Function Documentation

◆ FastCoder

friend class FastCoder
friend