common.hpp File Reference
#include <array>
#include <cassert>
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uint48
 This is a 48 bit variable. More...
 
struct  uint24
 This is a 24 bit variable. More...
 

Macros

#define D(x)
 
#define PROD_INLINE   inline __attribute__((always_inline))
 

Typedefs

using StateID = uint16_t
 

Functions

void hexdump (const void *data, int dataLen)
 Dump hex data. More...
 

Macro Definition Documentation

◆ D

#define D (   x)

Definition at line 10 of file common.hpp.

◆ PROD_INLINE

#define PROD_INLINE   inline __attribute__((always_inline))

Definition at line 16 of file common.hpp.

Typedef Documentation

◆ StateID

using StateID = uint16_t

Definition at line 19 of file common.hpp.

Function Documentation

◆ hexdump()

void hexdump ( const void *  data,
int  dataLen 
)

Dump hex data.

Parameters
dataPointer to the data to dump
dataLenLength of the data to dump

Definition at line 12 of file hexdump.cpp.