Muthu Kumaran Murugesan

Greenhorn
+ Follow
since Jul 08, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Muthu Kumaran Murugesan

pump_on = struct.pack("IIHHI", 0, 0, 21, 96, 512)
print pump_on
This is function in python used for packing values in specified format
the output for the above line
'\x00\x00\x00\x00\x00\x00\x00\x00\x15\x00`\x00\x00\x02\x00\x00'

so how to get this output in java
is there any function like pack or
any way to get this out put


If any suggestions kindly advice me
11 years ago
Hi,

I wanted to pack some values and later i have to unpack it ..
in python struct.pack() method is used to pack and unpack the values in the same way is there any way to pack values in java ,...??
If any suggestions kindly advice me
11 years ago