Function ndpi_serialize_binary_float¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_serialize_binary_float
(ndpi_serializer *_serializer, const char *key, u_int16_t klen, float value, const char *format)¶ Serialize an unterminated string key and a float value
- Return
- 0 on success, a negative number otherwise
- Parameters
serializer
: The serializer handlekey
: The field name or IDklen
: The key lengthvalue
: The field valueformat
: The float format