Postgres module

read_u16

procedure · 1 overloadsince 0.27.0Source

Reads a big-endian number.

read_u16 :: (at: *u8) -> u16

Reads a big-endian number.

Parameters

at: *u8
where the two bytes start.

Returns

u16

See also