NBit Bit Manipulation Library

Crc.Compute(String, Encoding) Method

Computes a CRC from the encoded bytes of a string of text.

[Visual Basic]
Public Overloads Sub Compute( _
   ByVal text As String, _
   ByVal encoding As Encoding _
)
[C#]
public uint Compute(
   string text,
   Encoding encoding
);

Parameters

text
The text to compute the CRC from.
encoding
The encoding to use.

Return Value

The final CRC.

See Also

Crc Class | NBit Namespace | Crc.Compute Overload List