Function ndpi_serialize_uint32_double

Function Documentation

int ndpi_serialize_uint32_double(ndpi_serializer *serializer, u_int32_t key, double value, const char *format)

Serialize a 32-bit unsigned int key and a double value

Return
0 on success, a negative number otherwise
Parameters
  • serializer: The serializer handle
  • key: The field name or ID
  • value: The field value
  • format: The double value format