biginteger - C /C++ long long to Java long -


i have file on disk i'm reading has been written c/c++ code. know have 2 64-bit unsigned integers read, java doesn't support unsigned integers, value when datainputstream.readlong() incorrect. (ignore byte-order i'm using derivative of dis called ledatainputstream downloaded web)

a lot of posts on here talk using biginteger javadoc reading bytearray talks loading bytearray respresentation, , questions seem centered on fact people going outside positive bounds of java long type, near data i'm reading.

i have matlab/octave script reads these long long values 2 32-bit integers each, multiplying , adding answer wants too.

i suppose question - how read 64-bit unsigned integer either using biginteger, or using [le]datainputstream.xxx?

thanks in advance

i suggest using bytebuffer , using code such this want.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -