pub unsafe extern "C" fn aws_byte_cursor_read(
cur: *mut aws_byte_cursor,
dest: *mut c_void,
len: usize
) -> bool
Expand description
Reads specified length of data from byte cursor and copies it to the destination array.
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.