Reset an encoder prior to encoding new data
#include <pps.h>
void pps_encoder_reset(pps_encoder_t *encoder);
libpps
The function pps_encoder_reset() resets an encoder prior to encoding new data. If you're going to reuse the encoder, it's typically better to call pps_encoder_reset() than pps_encoder_cleanup(); if you use pps_encoder_reset(), the encoder will eventually acquire a buffer large enough such that it will require no subsequent memory allocation.
QNX Neutrino
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |