Skip to main content

text

Function text 

Source
pub fn text<'b>(
    file: &AssetPath,
    bytes: &'b [u8],
) -> Result<&'b str, Vec<ContentError>>
Expand description

The text of a text format’s file bytes, or the error that it isn’t valid UTF-8.