GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::EncoderBuffer Class Reference

#include <encoder_buffer.h>

Public Member Functions

 EncoderBuffer ()
void Clear ()
void Resize (int64_t nbytes)
bool StartBitEncoding (int64_t required_bits, bool encode_size)
void EndBitEncoding ()
bool EncodeLeastSignificantBits32 (int nbits, uint32_t value)
template<typename T>
bool Encode (const T &data)
bool Encode (const void *data, size_t data_size)
bool bit_encoder_active () const
const char * data () const
size_t size () const
std::vector< char > * buffer ()

Friends

class BufferBitCodingTest

Constructor & Destructor Documentation

◆ EncoderBuffer()

draco::EncoderBuffer::EncoderBuffer ( )
Here is the caller graph for this function:

Member Function Documentation

◆ bit_encoder_active()

bool draco::EncoderBuffer::bit_encoder_active ( ) const
inline
Here is the caller graph for this function:

◆ buffer()

std::vector< char > * draco::EncoderBuffer::buffer ( )
inline

◆ Clear()

void draco::EncoderBuffer::Clear ( )
Here is the caller graph for this function:

◆ data()

const char * draco::EncoderBuffer::data ( ) const
inline
Here is the caller graph for this function:

◆ Encode() [1/2]

template<typename T>
bool draco::EncoderBuffer::Encode ( const T & data)
inline
Here is the caller graph for this function:

◆ Encode() [2/2]

bool draco::EncoderBuffer::Encode ( const void * data,
size_t data_size )
inline

◆ EncodeLeastSignificantBits32()

bool draco::EncoderBuffer::EncodeLeastSignificantBits32 ( int nbits,
uint32_t value )
inline
Here is the caller graph for this function:

◆ EndBitEncoding()

void draco::EncoderBuffer::EndBitEncoding ( )
Here is the caller graph for this function:

◆ Resize()

void draco::EncoderBuffer::Resize ( int64_t nbytes)
Here is the caller graph for this function:

◆ size()

size_t draco::EncoderBuffer::size ( ) const
inline
Here is the caller graph for this function:

◆ StartBitEncoding()

bool draco::EncoderBuffer::StartBitEncoding ( int64_t required_bits,
bool encode_size )
Here is the caller graph for this function:

◆ BufferBitCodingTest

friend class BufferBitCodingTest
friend

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