Function ndpi_serialize_binary_double

Function Documentation

int ndpi_serialize_binary_double(ndpi_serializer *_serializer, const char *key, u_int16_t klen, double value, const char *format)

Serialize an unterminated string key and a double value

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