pub fn write_str_value<W: StreamingWriter>( string: &str, writer: &mut W, ) -> Result<(), W::Error>
Write a string to a StreamingWriter using LCM’s convention of encoding strings.