Public Member Functions | Private Attributes | List of all members
IZ::BitDecoder< Code > Class Template Reference

#include <bitcoder.h>

Inheritance diagram for IZ::BitDecoder< Code >:
Inheritance graph
[legend]

Public Member Functions

void align ()
 
void begin (const unsigned char *ptr)
 
unsigned int cachedLength () const
 
const unsigned char * end ()
 
Code fetchCode ()
 
void fillCache ()
 
unsigned int peekBits (unsigned int count) const
 
unsigned int readBits (unsigned int count)
 
void skipBits (unsigned int count)
 

Private Attributes

const Code * p
 

Additional Inherited Members

- Protected Types inherited from IZ::BitCoderBase< Code >
typedef U64 Cache
 
enum  Constants { CodeBits = sizeof(Code) * CHAR_BIT, CacheBits = sizeof(Cache) * CHAR_BIT }
 
- Protected Attributes inherited from IZ::BitCoderBase< Code >
Cache bitcache
 
unsigned int len
 

Detailed Description

template<typename Code = U32>
class IZ::BitDecoder< Code >

Definition at line 63 of file bitcoder.h.

Member Function Documentation

◆ align()

template<typename Code = U32>
void IZ::BitDecoder< Code >::align ( )
inline

Definition at line 122 of file bitcoder.h.

◆ begin()

template<typename Code = U32>
void IZ::BitDecoder< Code >::begin ( const unsigned char *  ptr)
inline

Definition at line 74 of file bitcoder.h.

◆ cachedLength()

template<typename Code = U32>
unsigned int IZ::BitDecoder< Code >::cachedLength ( ) const
inline

Definition at line 109 of file bitcoder.h.

◆ end()

template<typename Code = U32>
const unsigned char* IZ::BitDecoder< Code >::end ( )
inline

Definition at line 126 of file bitcoder.h.

◆ fetchCode()

template<typename Code = U32>
Code IZ::BitDecoder< Code >::fetchCode ( )
inline

Definition at line 70 of file bitcoder.h.

◆ fillCache()

template<typename Code = U32>
void IZ::BitDecoder< Code >::fillCache ( )
inline

Definition at line 84 of file bitcoder.h.

◆ peekBits()

template<typename Code = U32>
unsigned int IZ::BitDecoder< Code >::peekBits ( unsigned int  count) const
inline

Definition at line 97 of file bitcoder.h.

◆ readBits()

template<typename Code = U32>
unsigned int IZ::BitDecoder< Code >::readBits ( unsigned int  count)
inline

Definition at line 113 of file bitcoder.h.

◆ skipBits()

template<typename Code = U32>
void IZ::BitDecoder< Code >::skipBits ( unsigned int  count)
inline

Definition at line 105 of file bitcoder.h.

Member Data Documentation

◆ p

template<typename Code = U32>
const Code* IZ::BitDecoder< Code >::p
private

Definition at line 134 of file bitcoder.h.


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


imagezero
Author(s):
autogenerated on Mon Feb 28 2022 22:33:12