Sharing code for serialization between binary and cereal
Sharing code for serialization between binary and cereal.