Why not? There are many times when saving a section of memory into a binary file (and being able to read it back) would be incredibly useful.
You can do this using std::ofstream::write
and std::ifstream::read
, and you can open their files with the std::ifstream::binary
flag.