Trait CustomDecoder
lib_ruby_parser::source
pub trait CustomDecoder: Debug { fn decode( &self, encoding: &str, input: &[u8] ) -> Result<Vec<u8>, InputError>; }
fn decode(&self, encoding: &str, input: &[u8]) -> Result<Vec<u8>, InputError>
impl CustomDecoder for RustFnBasedCustomDecoder