Skip to main content

script_text_from_vfs_bytes

Function script_text_from_vfs_bytes 

Source
pub fn script_text_from_vfs_bytes(bytes: &[u8]) -> Option<String>
Expand description

Decode VFS file bytes as script/JSON text (UTF-8 with optional BOM, or UTF-16 with BOM).