Skip to main content

interpret

Function interpret 

Source
pub fn interpret(name: &str, bytes: Vec<u8>) -> Option<Asset>
Expand description

Interpret a picked file (name for its extension, bytes for its content). Returns None for an unreadable/unsupported file.