public final class Numeric extends Object
public static String encodeQuantity(BigInteger value)
public static BigInteger decodeQuantity(String value)
public static BigInteger parsePaddedNumberHex(String value)
protected static boolean isValidHexQuantity(String value)
public static boolean containsHexPrefix(String input)
public static BigInteger toBigInt(byte[] value, int offset, int length)
public static BigInteger toBigInt(byte[] value)
public static BigInteger toBigInt(String hexValue)
public static BigInteger toBigIntNoPrefix(String hexValue)
public static String toHexStringWithPrefix(BigInteger value)
public static String toHexStringNoPrefix(BigInteger value)
public static String toHexStringNoPrefix(byte[] input)
public static String toHexStringWithPrefixZeroPadded(BigInteger value, int size)
@Deprecated public static String toHexStringWithPrefixSafe(BigInteger value)
toHexStringNoPrefix(BigInteger value) instead, more details herepublic static String toHexStringNoPrefixZeroPadded(BigInteger value, int size)
public static byte[] toBytesPadded(BigInteger value, int length)
public static byte[] hexStringToByteArray(String input)
public static String toHexString(byte[] input, int offset, int length, boolean withPrefix)
public static String toHexString(byte[] input)
public static String eventToHexString(byte[] input)
public static byte asByte(int m,
int n)
public static boolean isIntegerValue(BigDecimal value)
Copyright © 2025. All rights reserved.