commit | 8bb8c2e0b8e7e41f3985750ddc71e48a84a5b25e | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Nov 30 18:02:12 2023 -0800 |
committer | William A. Kennington III <wak@google.com> | Thu Nov 30 18:09:05 2023 -0800 |
tree | cca754a54cabd892a427c601bff1e5562c8f14fb | |
parent | a0875538b4d7cdb04dd478ec343c2b086a7ce098 [diff] |
numeric/endian: Add generic endian conversion function This enables us to convert to big or little endian based on a template sepcifier, giving us more flexibility than network endian. Change-Id: I0d4ef177e907163699ac1e458294756f5208651e Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform. Note the goals of this project are to implement only the minimum set of features needed by the OpenBMC project and other users. You may find the included set of functions currently quite sparse.
This project provides the following primitives:
Test cases require google{test,mock}, valgrind, and lcov. It also requires the Meson Build System which can be installed following the instructions at mesonbuild.com.
For a standard release build, you want something like:
meson setup -Dexamples=false -Dtests=disabled builddir ninja -C builddir ninja -C builddir install
For a test / debug build, a typical configuration is
meson setup -Dtests=enabled builddir meson test -C builddir