Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
boost/endian.hpp
✓ #include <boost/endian.hpp>
Convert native endian to big-endian
#include <boost/endian.hpp>
#include <iostream>
#include <cstdint>
int main() {
uint32_t val = 0x01020304;
uint32_t big = boost::endian::native_to_big(val);
std::cout << "Native to big-endian: " << big << std::endl;
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.