pub fn long_string_bytes(text: &str, max: Option<usize>) -> Vec<u8> ⓘExpand description
text as a char array holding a long string: its UTF-8 bytes and a
terminating NUL, cut to fit max elements (the PV’s element count, if
known) with the NUL kept, and never inside a multi-byte character.