Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

utf8_text

Function utf8_text 

Source
pub fn utf8_text(source: &[u8]) -> Result<&str, Error>
Expand description

Validate bytes and borrow them as UTF-8 without constructing a syntax tree.