Search code examples
javajavolution

javolution support unsigned64 or not?


Anybody knows if Javolution support unsigned64 or not? I cannot find similar type defined in its API. My co-worker start use Javolution hoping it will help us to mapping Java types with C++ types in our socket communication. I don't know is there any better solution for this type of conversions.


Solution

  • For the most part you can treat a long as unsigned with minor changes. For network communication, its usually simple. However in some cases you need to use BigInteger to store/calculate the value accurately.

    I have created a one class library which shows you wys to treat a long as Unsigned