CSharpTest.Net
Crc32 Constructor(Int32)
See Also  Example Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > Crc32 Structure > Crc32 Constructor : Crc32 Constructor(Int32)

crc

Glossary Item Box

Resumes the computation of a CRC32 value

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal crc As Integer _
)
C# 
public Crc32( 
   int crc
)

Parameters

crc

Example

Library/Library.Test/TestCrc32.cs

C#Copy Code
Assert.AreEqual("00000000", new Crc32().ToString());
Assert.AreEqual("00100100", new Crc32(0x00100100).ToString());
Assert.AreEqual("F0100100", new Crc32(unchecked((int)0xF0100100)).ToString());
VB.NETCopy Code
Assert.AreEqual("00000000", New Crc32().ToString())
Assert.AreEqual("00100100", New Crc32(&H100100).ToString())
Assert.AreEqual("F0100100", New Crc32(DirectCast(&Hf0100100UI, Integer)).ToString())

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys