Function ndpi_reset_serializer

Function Documentation

void ndpi_reset_serializer(ndpi_serializer *serializer)

Reset the serializer (cleanup the internal buffer to start a new serialization). Any snapshot taken before the reset is discarded, while the ndpi_serializer_skip_header() hint is preserved.

Parameters:

serializer – The serializer handle