public class TestUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpDsonForHash(Atom atom)
Dump the DSON representation of the binary generated for hashing
|
static void |
dumpJsonForHash(Atom atom)
Dump the JSON representation of the binary generated for hashing
|
static void |
hexdump(byte[] bytes)
Useful method for discovering why things went wrong - outputs
a hexdump to
System.out. |
public static void dumpJsonForHash(Atom atom)
atom - The atompublic static void dumpDsonForHash(Atom atom)
atom - The atompublic static void hexdump(byte[] bytes)
System.out.bytes - bytes to dump