Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该如何在 Java 中将几何数据类型更改为字符串?
使用BigInteger.
BigInteger
BigInteger bi = new BigInteger("01060000000100000...", 16);
你可以使用BigInteger. 它有一个以 String 和 radix 作为参数的构造函数。
所以:
new BigInteger(theString, 16);