title: C/C++ library for platform-independent binary file I/O
body: <p>I've been trying for months to find a small C or C++ library for platform-independent binary file I/O, that means endian swapping and with fixed size types.</p>
  
  <p>I know that huge libraries like wxWidgets and Qt have them, and that languages like Java and C# also have them, but I'd prefer to use a small library instead of a huge framework.</p>