Function cdg::decode_subchannel_cmd [] [src]

pub fn decode_subchannel_cmd(block: &[u8]) -> Option<Command>

Decode a single subchannel command. The input block must be exactly 24 bytes long. If the command is invalid for any reason, return None. Otherwise, returns the command.