Method | Description | |
---|---|---|
ComputeCrc32 ( |
Get the CRC32 for the given (word,byte) combo. This is a computation defined by PKzip.
|
|
GetCrc32 ( System input ) : |
Returns the CRC32 for the specified stream.
|
|
GetCrc32AndCopy ( System input, System output ) : |
Returns the CRC32 for the specified stream, and writes the input into the output stream.
|
|
SlurpBlock ( byte block, int offset, int count ) : void |
Update the value for the running CRC32 using the given block of bytes. This is useful when using the CRC32() class in a Stream.
|
Method | Description | |
---|---|---|
CRC32 ( ) : System | ||
_InternalComputeCrc32 ( |
public ComputeCrc32 ( |
||
W | The word to start with. | |
B | byte | The byte to combine it with. |
return |
public GetCrc32 ( System input ) : |
||
input | System | The stream over which to calculate the CRC32 |
return |
public GetCrc32AndCopy ( System input, System output ) : |
||
input | System | The stream over which to calculate the CRC32 |
output | System | The stream into which to deflate the input |
return |
public SlurpBlock ( byte block, int offset, int count ) : void | ||
block | byte | block of bytes to slurp |
offset | int | starting point in the block |
count | int | how many bytes within the block to slurp |
return | void |