Tasmota/lib/lib_div/ams/ntohll_ams.cpp
gemu c12974366b
Sml update (#23267)
* rename nthll 64

* fix nthll 64
2025-04-11 15:16:05 +02:00

5 lines
128 B
C++

#include "ntohll_ams.h"
uint64_t ntohll_ams(uint64_t x) {
return (((uint64_t)ntohl((uint32_t)x)) << 32) + ntohl(x >> 32);
}