| 2235 | } |
| 2236 | |
| 2237 | static void posix_u64_encode(uint8_t out[8], uint64_t value) { |
| 2238 | for (size_t index = 0; index < 8; index++) { |
| 2239 | out[index] = (uint8_t)(value >> (index * 8U)); |
| 2240 | } |
| 2241 | } |
| 2242 | |
| 2243 | static uint64_t posix_u64_decode(const uint8_t in[8]) { |
| 2244 | uint64_t value = 0; |
no outgoing calls
no test coverage detected