Module helpers

Source

Functions§

get_file_name_from_string
Retrieve only the filename portion from a filepath.
get_pcstr_from_str
Win32 memes. Use with caution.
get_pcwstr_from_str
Win32 memes. Use with caution.
get_w32str_from_str
Win32 memes. Use with caution.
scan
Naive linear search for a needle in a haystack with wildcards
to_pattern
Converts a string of hex characters into a byte pattern with wildcards. ? is the character used for wildcards. Hex characters don’t have to be prefixed with 0x
vec_u16_to_u8
Win32 memes. Use with caution.
w32str_to_string
Win32 memes. Use with caution.