Prusa MINI Firmware overview
MultiByteValueParser Class Reference

#include <parsetools.h>

Public Member Functions

 MultiByteValueParser ()
 
const uint8_tGetBuffer ()
 
void Initialize (MultiValueBuffer *const pbuf)
 
bool Parse (uint8_t **pp, uint16_t *pcntdn)
 

Constructor & Destructor Documentation

◆ MultiByteValueParser()

MultiByteValueParser::MultiByteValueParser ( )
43  : pBuf(nullptr), countDown(0), valueSize(0) {
44  };

Member Function Documentation

◆ GetBuffer()

const uint8_t* MultiByteValueParser::GetBuffer ( )
46 { return pBuf; }

◆ Initialize()

void MultiByteValueParser::Initialize ( MultiValueBuffer *const  pbuf)
48  {
49  pBuf = (uint8_t*)pbuf->pValue;
50  countDown = valueSize = pbuf->valueSize;
51  }
Here is the caller graph for this function:

◆ Parse()

bool MultiByteValueParser::Parse ( uint8_t **  pp,
uint16_t *  pcntdn 
)
valueSize
uint8_t valueSize
Definition: parsetools.h:79
uint8_t
const uint8_t[]
Definition: 404_html.c:3
pbuf
Definition: pbuf.h:142