S
Soeren Meyer-Eppler
Hi,
I'm writing a Java GUI that communicates with a debugger written in C++.
I need to deal with visualizing memory locations and addresses and thus
need to be able to handle 64bit unsigned address values in Java. Since
Java doesn't have any native unsigned types - what's the best way to go
about this?
As an example of what my problem is consider the following case: The C++
debugging client sends me a list of all function entry points in a
program. These are 64bit unsigned address values. My Java GUI receives
them, sorts and displays them. Since Java interprets some of the numbers
as negative the sorting is all screwed up...
So - how do I best represent a 64bit unsigned integer value in Java?
regards,
Sören
I'm writing a Java GUI that communicates with a debugger written in C++.
I need to deal with visualizing memory locations and addresses and thus
need to be able to handle 64bit unsigned address values in Java. Since
Java doesn't have any native unsigned types - what's the best way to go
about this?
As an example of what my problem is consider the following case: The C++
debugging client sends me a list of all function entry points in a
program. These are 64bit unsigned address values. My Java GUI receives
them, sorts and displays them. Since Java interprets some of the numbers
as negative the sorting is all screwed up...
So - how do I best represent a 64bit unsigned integer value in Java?
regards,
Sören