Forum Discussion
Eduardo_Saito_1
Nimbostratus
Sep 25, 2007STATISTIC_BYTES_OUT with negative numbers.
Hello Everybody.
I'm having the following problem and I hope someone can help me.
I did a .net CSharp program that collects STATISTIC_BYTES_IN and STATISTIC_BYTES_OUT.
It really works wh...
Bernie_10630
Nimbostratus
Aug 28, 2012I struggled with the same problem in Python, but I didn't have the ability ot use Jython. In the end used pack and unpack fromthe struct module.
def hlconvert(high,low):
if high<0:
high = unpack('=I', pack('=i',high))[0]
if low<0:
low = unpack('=I', pack('=i',low))[0]
return long((high<<32)|low)
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