@Test public void toHexStringWithFlag() { assertThat(byteArray.toHexString(true), is("0x795c64c6eee9164539d679354f349779a04f57cb")); assertThat(byteArray.toHexString(false), is("795c64c6eee9164539d679354f349779a04f57cb")); }
public final String toHexString() { return toHexString(false); }
ByteArray { public final String toHexString() { return toHexString(false); } }
ByteArray { public final String toHexString() { return toHexString(false); } ByteArray(byte[] bytes); }
ByteArray { public final String toHexString() { return toHexString(false); } ByteArray(byte[] bytes); static ByteArray from(String hex); final String toHexString(); final String toHexString(boolean withPrefix); final byte[] getBytes(); @Override String toString(); @Override final int hashCode(); @Override final boolean equals(Object o); }
ByteArray { public final String toHexString() { return toHexString(false); } ByteArray(byte[] bytes); static ByteArray from(String hex); final String toHexString(); final String toHexString(boolean withPrefix); final byte[] getBytes(); @Override String toString(); @Override final int hashCode(); @Override final boolean equals(Object o);  }