Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 1.13 KB

README.md

File metadata and controls

12 lines (11 loc) · 1.13 KB

Cereal: A serialization library for C++ and C Sharp

What is Cereal?

Cereal is a header-only library based on TheCherno's serialization library for Java. This project is maintained by raresica1234 and marcizhu. The library is really simple and fully customizable to fit all your needs. Right now, it can serialize and deserialize the following data objects:

  • Fields: A field just stores a simple data type, like an int or a short
  • Arrays: An array is a collection of simple data types, for example you can have 10 floats stored
  • Objects: Each object contains a name (like all the other data structures) but also it stores fields and arrays
  • Databases: A database is a collection of objects, each with its own fields and arrays
  • Headers: Headers are optional, but really useful if you want to store more than one database per file. With headers you can have up to 255 databases in a single file!

For more information, check out the wiki page