mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix OBU header parse error when payload size equals to 0
This commit is contained in:
@@ -15,4 +15,13 @@
|
||||
#include "obu.h"
|
||||
|
||||
std::vector<Obu> ParseObus(uint8_t* payload, int payload_size);
|
||||
|
||||
const char* ObuTypeToString(OBU_TYPE type);
|
||||
|
||||
bool ObuHasExtension(uint8_t obu_header);
|
||||
|
||||
bool ObuHasSize(uint8_t obu_header);
|
||||
|
||||
int ObuType(uint8_t obu_header);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user