PowerTCP Zip Compression for .NET
CalculateCRC Method




The source data that will be used for calculating the CRC.
A static method that calculates the CRC (cyclical redundancy check) number for all the bytes in the stream.
Syntax
Public Shared Function CalculateCRC( _
   ByVal stream As Stream _
) As Long
Dim stream As Stream
Dim value As Long
 
value = UtilityStream.CalculateCRC(stream)
public static long CalculateCRC( 
   Stream stream
)
public: static long CalculateCRC( 
   Stream* stream
) 
public:
static int64 CalculateCRC( 
   Stream^ stream
) 

Parameters

stream
The source data that will be used for calculating the CRC.

Return Value

A long that indicates the CRC.
Remarks
Once complete, the stream's position is reset to the original position, so the stream must allow seeking.
See Also

Reference

UtilityStream Class
UtilityStream Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic