|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Big-endian byte-packing helpers. More...
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | cdc |
| namespace | cdc::core |
Functions | |
| void | cdc::core::writeBe32 (uint8_t *out, uint32_t v) |
| Writes a 32-bit value to a buffer in big-endian order. | |
| uint32_t | cdc::core::readBe32 (const uint8_t *in) |
| Reads a 32-bit value from a buffer in big-endian order. | |
| void | cdc::core::writeBe16 (uint8_t *out, uint16_t v) |
| Writes a 16-bit value to a buffer in big-endian order. | |
| uint16_t | cdc::core::readBe16 (const uint8_t *in) |
| Reads a 16-bit value from a buffer in big-endian order. | |
Big-endian byte-packing helpers.
Definition in file Bytes.h.