pub fn decode_engine<E: Engine, T: AsRef<[u8]>>(
input: T,
engine: &E,
) -> Result<Vec<u8>, DecodeError>
👎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>
.