Bitcoin ABC 0.30.7
P2P Digital Currency
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: