pub unsafe extern "C" fn aws_byte_cursor_read_be16(
cur: *mut aws_byte_cursor,
var: *mut u16
) -> bool
Expand description
Reads a 16-bit value in network byte order from cur, and places it in host byte order into var.
On success, returns true and updates the cursor pointer/length accordingly. If there is insufficient space in the cursor, returns false, leaving the cursor unchanged.