Project
Loading...
Searching...
No Matches
bin-encode-decode.cxx File Reference
#include <rANS/factory.h>
#include <rANS/histogram.h>
#include <rANS/encode.h>
#include <rANS/decode.h>
#include <boost/program_options.hpp>
#include <algorithm>
#include <iostream>
#include <fairlogger/Logger.h>

Go to the source code of this file.

Macros

#define SOURCE_T   uint8_t
 

Typedefs

using source_type = SOURCE_T
 
using stream_type = uint32_t
 

Functions

template<typename T >
std::vector< T > readFile (const std::string &filename)
 
int main (int argc, char *argv[])
 

Variables

constexpr size_t NSTREAMS = 2
 
constexpr size_t LOWER_BOUND = 31
 

Macro Definition Documentation

◆ SOURCE_T

#define SOURCE_T   uint8_t

Definition at line 30 of file bin-encode-decode.cxx.

Typedef Documentation

◆ source_type

Definition at line 33 of file bin-encode-decode.cxx.

◆ stream_type

using stream_type = uint32_t

Definition at line 34 of file bin-encode-decode.cxx.

Function Documentation

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 62 of file bin-encode-decode.cxx.

◆ readFile()

template<typename T >
std::vector< T > readFile ( const std::string filename)

Definition at line 39 of file bin-encode-decode.cxx.

Variable Documentation

◆ LOWER_BOUND

constexpr size_t LOWER_BOUND = 31
inlineconstexpr

Definition at line 36 of file bin-encode-decode.cxx.

◆ NSTREAMS

constexpr size_t NSTREAMS = 2
inlineconstexpr

Definition at line 35 of file bin-encode-decode.cxx.