pub unsafe extern "C" fn aws_byte_cursor_read_hex_u8(
    cur: *mut aws_byte_cursor,
    var: *mut u8
) -> bool
Expand description

Reads 2 hex characters from ASCII/UTF-8 text to produce an 8-bit number. Accepts both lowercase ‘a’-‘f’ and uppercase ‘A’-‘F’. For example: “0F” produces 15.

On success, returns true and advances the cursor by 2. If there is insufficient space in the cursor or an invalid character is encountered, returns false, leaving the cursor unchanged.