Skip to main content

decode

Function decode 

Source
pub fn decode(bytes: &[u8], mode: DecodeMode) -> Decoded
Expand description

Decodes the first complete key press at the front of bytes, read under the given DecodeMode. See the module docs for the contract.