Skip to main content

Module bytes

Module bytes 

Source

Enums§

ObjectBytes

Functions§

bytes_to_typed_array
get_array_bytes
get_coerced_string_bytes
get_lossy_string
Convert a JS string to a String, replacing lone UTF-16 surrogates with U+FFFD per WHATWG USVString. Use when ill-formed strings must not fail.
get_start_end_indexes
get_string_bytes