clamp_nef_source

Function clamp_nef_source 

Source
pub fn clamp_nef_source<'a>(value: &'a str) -> Cow<'a, str>
Expand description

Clamp a NEF source string to the maximum allowed byte length, preserving UTF-8 boundaries.