Skip to main content

decode_file

Function decode_file 

Source
pub fn decode_file(file_bytes: &[u8]) -> Result<Vec<DecodedRegion>>
Expand description

Decode bytes recursively on the GPU.

§Errors

Returns Error::DecodeConfig if the default rules are invalid. Returns Error::Gpu if the GPU device cannot be initialized. Returns Error::Decode if the GPU decode dispatch or recursive frontier management fails.