Function Cloudini::EncodeHeader

Function Documentation

void Cloudini::EncodeHeader(const EncodingInfo &header, std::vector<uint8_t> &output, HeaderEncoding encoding = HeaderEncoding::YAML)

Encode the header into the output buffer. Called by PointcloudEncode (exposed here for testing)

Parameters:
  • header – The header information to encode.

  • output – The output buffer to write the encoded header data. Will be modified to point to the next data after the header.

Returns:

The size of the encoded header.