pub unsafe extern "C" fn aws_byte_cursor_utf8_parse_u64(
cursor: aws_byte_cursor,
dst: *mut u64
) -> c_int
Expand description
Read entire cursor as ASCII/UTF-8 unsigned base-10 number. Stricter than strtoull(), which allows whitespace and inputs that start with “0x”
Examples: “0” -> 0 “123” -> 123 “00004” -> 4 // leading zeros ok
Rejects things like: “-1” // negative numbers not allowed “1,000” // only characters 0-9 allowed “” // blank string not allowed “ 0 “ // whitespace not allowed “0x0” // hex not allowed “FF” // hex not allowed “999999999999999999999999999999999999999999” // larger than max u64