pub fn fcs(cmd_fcs_range: &str) -> Result<FcsBytes, ProtocolError>
Expand description
Calculates the FCS checksum from a serialized Hostlink command. The input string must only contain characters which are actually needed for the checksum. If the input string contains unneeded characters, they will also be accounted into the checksum.