patch_seq_string_byte_length

Function patch_seq_string_byte_length 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_string_byte_length( stack: Stack, ) -> Stack
Expand description

Get the byte length of a string (UTF-8 encoded)

Stack effect: ( str – int )

Use this for HTTP Content-Length headers and buffer allocation.

§Safety

Stack must have a String value on top