pub unsafe extern "C" fn aws_byte_cursor_find_exact(
input_str: *const aws_byte_cursor,
to_find: *const aws_byte_cursor,
first_find: *mut aws_byte_cursor
) -> c_int
Expand description
Search for an exact byte match inside a cursor. The first match will be returned. Returns AWS_OP_SUCCESS on successful match and first_find will be set to the offset in input_str, and length will be the remaining length from input_str past the returned offset. If the match was not found, AWS_OP_ERR will be returned and AWS_ERROR_STRING_MATCH_NOT_FOUND will be raised.