Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
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