ntohll()

ntohll()#

Converts a 64-bit integer from network byte order to host byte order. The function ensures proper endianness conversion based on the system’s architecture.

Prototype

uint64_t ntohll(uint64_t value);

Parameters

Key

Type

Description

value

uint64_t

The 64-bit integer in network byte order to be converted.


Return Value

Returns the 64-bit integer in host byte order.

Notes

This function checks the system’s byte order and swaps bytes if necessary to ensure correct conversion.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples