pub(super) fn string_to_byte_chunks(input: &str, limit: usize) -> Vec<&[u8]>
split a string into chunks and keep utf8 valid