Skip to main content

write_flat_op_str_words

Function write_flat_op_str_words 

Source
pub fn write_flat_op_str_words(
    out: &mut Vec<u32>,
    text: &str,
    max_bytes: u32,
) -> bool
Expand description

Appends [byte_len: u32, zero_padded_utf8_le_words...] to out.

Returns false (leaving out unchanged) if text.len() exceeds max_bytes.