B2BITS FIX Antenna C++ 2.32.1
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Engine::FastCoder::Buffer Class Reference

Buffer. More...

#include <B2BITS_FastCoder.h>

Public Member Functions

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

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 Symbol Documentation

◆ FastCoder

friend class FastCoder
friend