Domanda

How should I change the geometry datatype to String in Java?

È stato utile?

Soluzione

Use BigInteger.

BigInteger bi = new BigInteger("01060000000100000...", 16);

Altri suggerimenti

You could use BigInteger. It has a constructor taking a String and a radix as an argument.

So:

new BigInteger(theString, 16);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top