Bitcoin Core 28.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 104 of file int_utils.h.

Constructor & Destructor Documentation

◆ BitReader()

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

Definition at line 110 of file int_utils.h.

Member Function Documentation

◆ Read()

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

Definition at line 113 of file int_utils.h.

Member Data Documentation

◆ in

const unsigned char* BitReader::in
private

Definition at line 107 of file int_utils.h.

◆ offset

int BitReader::offset = 0
private

Definition at line 106 of file int_utils.h.

◆ state

unsigned char BitReader::state = 0
private

Definition at line 105 of file int_utils.h.


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