📜  变压器 un string en Biginteger java 代码示例

📅  最后修改于: 2022-03-11 14:52:23.932000             🧑  作者: Mango

代码示例3
public BigInteger toBigInteger(String foo)
{
    return new BigInteger(foo.getBytes());
}

public String fromBigInteger(BigInteger bar)
{
    return new String(bar.toByteArray());
}