메소드 | 설명 | |
---|---|---|
ComputeChecksum ( Stream stream ) : int |
Computes the checksum for a stream, starting from the current position and reading until no more can be read
|
|
ComputeChecksum ( int initial, byte data ) : int |
Computes the Adler32 checksum for the given data.
|
|
ComputeChecksum ( int initial, byte data, int start, int length ) : int |
Computes the Adler32 checksum for the given data.
|
|
ComputeChecksum ( string path ) : int |
Computes the checksum of a file
|
public static ComputeChecksum ( Stream stream ) : int | ||
stream | Stream | The stream to compute the checksum for |
리턴 | int |
public static ComputeChecksum ( int initial, byte data ) : int | ||
initial | int | /// Initial value or previous result. Use 1 for the /// first transformation. /// |
data | byte | The data to compute the checksum of |
리턴 | int |
public static ComputeChecksum ( int initial, byte data, int start, int length ) : int | ||
initial | int | /// Initial value or previous result. Use 1 for the /// first transformation. /// |
data | byte | The data to compute the checksum of |
start | int | Index of first byte to compute checksum for |
length | int | Number of bytes to compute checksum for |
리턴 | int |
public static ComputeChecksum ( string path ) : int | ||
path | string | The file to compute the checksum of |
리턴 | int |