Here you can find the source of toString(BigInteger bi)
Parameter | Description |
---|---|
bi | -> BigInteger |
public static String toString(BigInteger bi)
//package com.java2s; //License from project: Open Source License import java.math.BigInteger; public class Main { /**//from ww w . ja va2 s . co m * Converte de array de byte para string * @param data -> array de byte * @return string */ public static String toString(byte[] data) { return toString(new BigInteger(1, data)); } /** * Converte de BigInteger para String * @param bi -> BigInteger * @return string */ public static String toString(BigInteger bi) { return bi.toString(16); } }