0

Is there a commonly-used C++ library for the task of reading and writing entire buffers/contiguous containers from files? I mean, reading/writing raw binary data, nor formatted output.

Desired features:

  • Use of memory mapping when relevant/possible
  • Support for endianness correction of integer data
  • Typed and untyped usage
  • Does not force the user to work through streams
  • Supports both self-allocation and provided space for the output
  • Actively maintained

Required features:

  • Libre
  • Gratis
  • Supports Linux

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.