com.mongodb.util
Class Util
java.lang.Object
com.mongodb.util.Util
public class Util
- extends Object
Misc utility helpers. Not sure what else to call the class
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
toHex
public static String toHex(byte[] b)
hexMD5
public static String hexMD5(byte[] data)
- Produce hex representation of the MD5 digest of a byte array
- Parameters:
data
- bytes to digest
- Returns:
- hex string of the MD5 digest
hexMD5
public static String hexMD5(ByteBuffer buf,
int offset,
int len)