At the moment serde does not include serialize_float and deserialize_float. To do this we'd want to extend the Serializer and Deserializer module types, and include the relevant helper functions in the Ser and De modules.
For an example of how to do this, follow the serializer_int31 and deserialize_int31 functions.
At the moment serde does not include
serialize_float
anddeserialize_float
. To do this we'd want to extend the Serializer and Deserializer module types, and include the relevant helper functions in the Ser and De modules.For an example of how to do this, follow the
serializer_int31
anddeserialize_int31
functions.