Function ouster::sdk::osf::get_prefixed_size(const OsfBuffer&, OsfOffset)¶
Defined in File basics.h
Function Documentation¶
-
uint32_t ouster::sdk::osf::get_prefixed_size(const OsfBuffer &buf, OsfOffset offset)¶
Reads the prefix size of the Flatbuffers buffer.
First 4 bytes.
- Parameters:
buf[in] Pointer to Flatbuffers buffer stared with prefixed size
offset[in] Offset in the buffer where the prefixed size starts
- Returns:
the size recovered from the stored prefix size