Skip to main content

load_bytes

Function load_bytes 

Source
pub fn load_bytes(
    title: impl Into<String>,
    bytes: &[u8],
    format: &str,
) -> Result<TextDocument>
Expand description

Dispatch to the appropriate importer based on a format hint.