Serialization of data stuctures
module Key : sig ... end
val create_serializer : Key.t ‑> 'a serializer
create a serializer from a file name given an integer key used as double-check of the file type
val read_from_file : 'a serializer ‑> InferBase.DB.filename ‑> 'a option
Deserialize a file and check the keys
val write_to_file : 'a serializer ‑> data:'a ‑> InferBase.DB.filename ‑> unit
Serialize into a file writing value