Utility functions for the ProsecCoAP library. More...
#include <Arduino.h>#include <stdint.h>Go to the source code of this file.
Namespaces | |
| namespace | Utils |
| Utilities. | |
| namespace | Coap |
| Namespace for the library. | |
| namespace | Coap::Utils |
Functions | |
| template<size_t N, typename T > | |
| void | Coap::Utils::toNetworkByteOrder (T value, uint8_t(&result)[N]) |
| Convert an integer-like value to network byte order (i.e. big-endian). | |
| constexpr uint16_t | Coap::Utils::ntohs (uint16_t net_short) |
| Custom implementation of ntohs (Network to Host Short) for 16-bit integers. | |
| constexpr uint32_t | Coap::Utils::ntohl (uint32_t net_long) |
| Custom implementation of ntohl (Network to Host Long) for 32-bit integers. | |
| constexpr uint64_t | Coap::Utils::ntohll (uint64_t net_longlong) |
| Custom implementation of ntohll (Network to Host Long Long) for 64-bit integers. | |
Utility functions for the ProsecCoAP library.