Skip to main content

htobe16

Function htobe16 

Source
#[unsafe(no_mangle)]
pub extern "C" fn htobe16(x: uint16_t) -> uint16_t
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/be16toh.html.

Convert a uint16_t from host endian representation to big endian respresentation.