Expand description
Helpers for explicit network byte-order conversions.
These helpers keep Clippy expectations scoped to the conversion points so protocol code can remain explicit about wire endianness without repeating lint annotations.
Functionsยง
- read_
network_ u16 - Parse a network-order
u16from its on-wire representation. - write_
network_ u16 - Serialise a
u16in network byte order (big-endian).