Skip to main content

push_str

Function push_str 

Source
pub fn push_str(out: &mut Vec<u8>, value: &str)
Expand description

Append a u16 BE length + bytes string field.

ยงPanics

Panics if the string is longer than u16::MAX bytes (labels and relationship types are bounded far below that at the protocol edge).