Calculate Method
Calculate(ReadOnlySpan<byte>)
Calculates a CRC13239 checksum over a byte buffer.
C#
public static short Calculate(ReadOnlySpan<byte> buffer)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<byte> | buffer | The buffer to be checksummed. |
Returns
short
A two byte CRC checksum.