# bm::gamma_encoder< T, TBitIO > Class Template Reference

Functor for Elias Gamma encoding. More...

`#include <encoding.h>`

## Public Member Functions

| gamma_encoder (TBitIO &bout)
BMFORCEINLINE void | operator() (T value)
| Encode word.

## Detailed Description

### template<typename T, typename TBitIO>
class bm::gamma_encoder< T, TBitIO >

Functor for Elias Gamma encoding.

Definition at line 440 of file encoding.h.

## Constructor & Destructor Documentation

template<typename T , typename TBitIO >

bm::gamma_encoder< T, TBitIO >::gamma_encoder | ( | TBitIO & | bout | ) | `[inline]`

Definition at line 443 of file encoding.h.

## Member Function Documentation

template<typename T , typename TBitIO >

BMFORCEINLINE void bm::gamma_encoder< T, TBitIO >::operator() | ( | T | value | ) | `[inline]`

Encode word.

Definition at line 450 of file encoding.h.

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

- encoding.h