public class ChecksumUtil extends Object
构造器和说明 |
---|
ChecksumUtil() |
public static void updateChunkChecksum(byte[] buf, int checksumOff, int dataOff, int dataLen, DataChecksum checksum) throws IOException
buf
- - buffer to update the checksum inchecksumOff
- - offset in the buffer where the checksum is to updatedataOff
- - offset in the buffer of the datadataLen
- - length of data to compute checksum onIOException
Copyright © 2009 The Apache Software Foundation