out.write( struct.pack(">f", 1.1) );
out.write( struct.pack(">i", 12) );
out.write( struct.pack(">3s", "abc") );
how to import struct package in java it says ..
no package found when i am trying to execute it
so kindly tell me any suggestions if any
Thanking you
i took that code from http://stackoverflow.com/questions/1255918/how-to-read-string-in-java-that-was-written-using-pythons-struct-pack-method