Function pack_string

Source
pub fn pack_string<Out: Write>(
    val: &str,
    maxsz: Option<usize>,
    out: &mut Out,
) -> Result<usize>
Expand description

Pack a string with size limit check.