NBit Bit Manipulation Library

Crc.Compute(Byte, Int32, Int32) Method

Computes a CRC from a byte array.

[Visual Basic]
Public Overloads Sub Compute( _
   ByVal buffer As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
)
[C#]
public uint Compute(
   byte[] buffer,
   int offset,
   int count
);

Parameters

buffer
The bytes to compute the CRC from.
offset
The index of the first byte in buffer to read.
count
The number of bytes to read.

Return Value

The final CRC.

See Also

Crc Class | NBit Namespace | Crc.Compute Overload List