Show / Hide Table of Contents

Class CrcExtensions

Inheritance
System.Object
CrcExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NModbus.Extensions
Assembly: NModbus.dll
Syntax
public static class CrcExtensions

Methods

| Improve this Doc View Source

DoesCrcMatch(Byte[])

Determines whether the crc stored in the message matches the calculated crc.

Declaration
public static bool DoesCrcMatch(this byte[] message)
Parameters
Type Name Description
System.Byte[] message
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetCRC(Byte[])

Gets the CRC of the message

Declaration
public static ushort GetCRC(this byte[] message)
Parameters
Type Name Description
System.Byte[] message
Returns
Type Description
System.UInt16
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX