NBit Bit Manipulation Library

Crc.Next(UInt32, UInt32, Int32) Method

Sends a specified number of bits through the CRC.

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

Parameters

crc
The current CRC value.
byte
The bits to send through the CRC.
bits
The number of bits to send.

Return Value

The modified CRC value.

See Also

Crc Class | NBit Namespace | Crc.Next Overload List