cpponi

C++17 & C++20 bindings for liboni. This is a header only library that provides abstraction and automatic memory management (RAII) around the base C library. The C++20 version of the library provides better performance due to that standard’s inclusion of std::span which is useful for zero-copy, high-level representation of data within oni::frame_t. The available version of standard library is detected at compile time. If C++20 is not available, oni::frame_t uses std::vectors for internal storage.

License

MIT