Function cwipc_decoder_feed

Function Documentation

void cwipc_decoder_feed(cwipc_decoder *obj, void *buffer, size_t bufferSize)

Feed compressed data into the decoder (C interface).

Use this call to pass a new compressed pointcloud into the decoder. After decompression available() will return true, and get() can be used to obtain the cwipc_pointcloud pointcloud data.

Parameters:
  • obj – The cwipc_encoder object.

  • buffer – Pointer to the data buffer containing the compressed pointcloud data.

  • bufferSize – Size of the data buffer.