pub fn write_long_string(
    v: &str,
    buf: &mut impl BufMut
) -> Result<(), ParseError>