Skip to content

src: convert all endian checks to constexpr

This is finally possible in C++20 without having to rely on compiler-defined macros, assuming none of our supported platforms are mixed-endian.

Refs: https://github.com/nodejs/node/pull/44411

Merge request reports

Loading