Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
golombrice.h File Reference
#include <util/fastrange.h>
#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 32 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 15 of file golombrice.h.

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