Skip to content

nanolion/tiny-binary-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-binary-loader

Read and write simple POD structs to binary files

Example

   /// struct must be composed of pod types
   /// such that sizeof() gives the proper size to load
   
   struct Pack
   {
      int a;
      int b;
   };
   
   File file( "new_file.bin", true, true );
   file.set_read_position(0);
   auto my_pack = file.read_buffer<Pack>()

About

Read and write simple POD structs to binary files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages