pub fn decode_frame(codec: CodecId, bytes: &[u8]) -> Result<UdsFrame>
Decodes supported diagnostic bytes into a frame.