
com.savl.ripple.utils.Utils Maven / Gradle / Ivy
package com.savl.ripple.utils;
import com.savl.ripple.encodings.common.B16;
import java.math.BigInteger;
public class Utils {
public static String bigHex(BigInteger bn) {
return B16.toStringTrimmed(bn.toByteArray());
}
public static BigInteger uBigInt(byte[] bytes) {
return new BigInteger(1, bytes);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy