Skip to main content

decode_engine

Function decode_engine 

pub fn decode_engine<E, T>(input: T, engine: &E) -> Result<Vec<u8>, DecodeError>
where E: Engine, T: AsRef<[u8]>,
👎Deprecated since 0.21.0:

Use Engine::decode

Expand description

Decode from string reference as octets using the specified Engine.

See Engine::decode. Returns a Result containing a Vec<u8>.