Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
golombrice.h File Reference
#include <streams.h>
#include <cstdint>
Include dependency graph for golombrice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename OStream >
static void GolombRiceEncode (BitStreamWriter< OStream > &bitwriter, uint8_t P, uint64_t x)
 
template<typename IStream >
static uint64_t GolombRiceDecode (BitStreamReader< IStream > &bitreader, uint8_t P)
 

Function Documentation

◆ GolombRiceDecode()

template<typename IStream >
static uint64_t GolombRiceDecode ( BitStreamReader< IStream > &  bitreader,
uint8_t  P 
)
static

Definition at line 30 of file golombrice.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GolombRiceEncode()

template<typename OStream >
static void GolombRiceEncode ( BitStreamWriter< OStream > &  bitwriter,
uint8_t  P,
uint64_t  x 
)
static

Definition at line 13 of file golombrice.h.

Here is the call graph for this function:
Here is the caller graph for this function: