serde-ml / serde

Serialization framework for OCaml
MIT License
174 stars 11 forks source link

Support for floats #11

Closed leostera closed 8 months ago

leostera commented 8 months ago

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.