Functionsยง
- array_
from_ ๐slice - expect_
size_ ๐of - Verifies the expected size of type T, for a type that should only grow if absolutely necessary.
- first_
byte_ ๐from_ slice - overflow_
error ๐ - Helper for reporting integer overflow errors in a consistent way.
- slice_
from_ ๐slice - slice_
from_ ๐slice_ at_ offset - Helper to safely slice bytes with offset calculations.
- string_
from_ ๐slice - Helper to get a &str from a slice at the given offset and range, or an error if it contains invalid UTF-8 data.
- try_
binary_ ๐search_ range_ by - Performs a binary search over a range using a fallible key extraction function; a failed key extraction immediately terminats the search.