static private AddCrcCcitt ( ushort currentCrc, byte value ) : ushort | ||
currentCrc | ushort | |
value | byte | |
return | ushort |
internal static ushort AddCrcCcitt(ushort currentCrc, byte value) =>
(ushort)((currentCrc >> 8) ^ Table[(currentCrc ^ value) & byte.MaxValue]);