pub fn command_decode(cmd: u64) -> Command
Decode a command with the given length of the data that follows.