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

Reads a single byte from cursor, placing it in *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.