Forum Discussion
Andy_Herrman_22
Nimbostratus
Aug 09, 2007ULong64 and Java
Just want to do a quick sanity check here. The 'long' type in Java is 64 bits, so theoretically the value of a ULong64 from iControl should fit just fine in a Java long value. Here's the conversion I'm doing:
CommonULong64 ulongValue = /* get ULong64 value somehow */;
long value = (ulongValue.getHigh() << 32) | ulongValue.getLow();I'm pretty sure this will work. Anyone see any problems with it?
No RepliesBe the first to reply
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects