Crc16CcittComputeChecksumBytes Method (Byte, Int32, Int32, Boolean) |
Returns the CRC-16-CCITT checksum for the array of bytes passed across using the standard calculation.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public byte[] ComputeChecksumBytes(
byte[] bytes,
int start,
int length,
bool littleEndian = true
)
Public Function ComputeChecksumBytes (
bytes As Byte(),
start As Integer,
length As Integer,
Optional littleEndian As Boolean = true
) As Byte()
public:
array<unsigned char>^ ComputeChecksumBytes(
array<unsigned char>^ bytes,
int start,
int length,
bool littleEndian = true
)
member ComputeChecksumBytes :
bytes : byte[] *
start : int *
length : int *
?littleEndian : bool
(* Defaults:
let _littleEndian = defaultArg littleEndian true
*)
-> byte[]
Parameters
- bytes
- Type: SystemByte
- start
- Type: SystemInt32
- length
- Type: SystemInt32
- littleEndian (Optional)
- Type: SystemBoolean
Return Value
Type:
ByteSee Also