Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
BitReader Class Reference

#include <int_utils.h>

Public Member Functions

 BitReader (const unsigned char *input)
 
template<int BITS, typename I >
Read ()
 

Private Attributes

unsigned char state = 0
 
int offset = 0
 
const unsigned char * in
 

Detailed Description

Definition at line 89 of file int_utils.h.

Constructor & Destructor Documentation

◆ BitReader()

BitReader::BitReader ( const unsigned char *  input)
inline

Definition at line 95 of file int_utils.h.

Member Function Documentation

◆ Read()

template<int BITS, typename I >
I BitReader::Read ( )
inline

Definition at line 98 of file int_utils.h.

Member Data Documentation

◆ in

const unsigned char* BitReader::in
private

Definition at line 92 of file int_utils.h.

◆ offset

int BitReader::offset = 0
private

Definition at line 91 of file int_utils.h.

◆ state

unsigned char BitReader::state = 0
private

Definition at line 90 of file int_utils.h.


The documentation for this class was generated from the following file: