Go to the source code of this file.
Functions | |
void | XbusParser_init (XbusParser *obj, unsigned char *buffer, int bufferSize) |
Initializes an XbusParser instance. More... | |
enum Result | XbusParser_insertByte (XbusParser *obj, unsigned char byte, int *messageSize) |
Insert a new byte in the parser. More... | |
void XbusParser_init | ( | XbusParser * | obj, |
unsigned char * | buffer, | ||
int | bufferSize | ||
) |
Initializes an XbusParser instance.
Definition at line 73 of file xbusparser.c.
enum Result XbusParser_insertByte | ( | XbusParser * | obj, |
unsigned char | byte, | ||
int * | messageSize | ||
) |
Insert a new byte in the parser.
obj | The XbusParser instance |
byte | The byte to insert |
messageSize | Pointer to an integer in which to return the current message size |
Definition at line 88 of file xbusparser.c.