Skip to main content

validate_string_input

Function validate_string_input 

Source
pub fn validate_string_input(bytes: &[u8], base_offset: usize) -> Result<&str>
Expand description

Validate a string value during parsing

This is the main entry point for UTF-8 validation during parsing. It validates the input and returns a DxError with byte offset on failure.