Skip to main content

Module util

Module util 

Source

Modules§

buffer_rw_string

Structs§

Spinlock
SpinlockGuard

Enums§

StringFlag

Constants§

ENABLE_FORY_DEBUG_OUTPUT
Set ENABLE_FORY_DEBUG_OUTPUT=1 at compile time to enable debug output.

Functions§

compute_string_hash
get_latin1_length
is_latin
murmurhash3_x64_128
to_camel_case
Converts a snake_case string to lowerCamelCase.
to_snake_case
Converts a camelCase or PascalCase string to snake_case.
to_utf8
Converts UTF-16 encoded data to UTF-8.