Bitcoin Core  0.20.99
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 >
void GolombRiceEncode (BitStreamWriter< OStream > &bitwriter, uint8_t P, uint64_t x)
 
template<typename IStream >
uint64_t GolombRiceDecode (BitStreamReader< IStream > &bitreader, uint8_t P)
 

Function Documentation

◆ GolombRiceDecode()

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

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 >
void GolombRiceEncode ( BitStreamWriter< OStream > &  bitwriter,
uint8_t  P,
uint64_t  x 
)

Definition at line 13 of file golombrice.h.

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