Skip to main content

strcpymax

Function strcpymax 

Source
pub fn strcpymax(dest: &mut String, src: &str, max: usize)
Expand description

Copies at most max bytes from src into dest, respecting UTF-8 char boundaries.