NBit Bit Manipulation Library

Crc.Next(UInt32, Byte, Int32, Int32, Int32) Method

Sends bits from a byte array through the CRC.

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

Parameters

crc
The current CRC value.
buffer
The array of bytes.
offset
The index of the first byte in buffer to read.
count
The number of bytes to read.
bits
The number of bits per byte to send.

Return Value

The modified CRC.

See Also

Crc Class | NBit Namespace | Crc.Next Overload List