Example usage for Java org.apache.hadoop.util DataChecksum fields, constructors, methods, implement or subclass
The text is from its open source code.
int | getBytesPerChecksum() |
DataChecksum | newDataChecksum(Type type, int bytesPerChecksum) |
DataChecksum | newDataChecksum(byte bytes[], int offset) Creates a DataChecksum from HEADER_LEN bytes from arr[offset]. |
void | reset() |
void | update(byte[] b, int off, int len) |
int | writeValue(byte[] buf, int offset, boolean reset) Writes the current checksum to a buffer. |