Function register_decoding_hook
pub fn register_decoding_hook(extension: OsString, hook: DecodingHook) -> bool
Register a new decoding hook or returns false if one already exists for the given format.
register_decoding_hookpub fn register_decoding_hook(extension: OsString, hook: DecodingHook) -> bool
Register a new decoding hook or returns false if one already exists for the given format.