Java function equivalent to pack ("v", int) in Perl / PHP

0

I would like to know if there is any function in Java equivalent to the pack("v",numero) function of Perl and PHP.

No perl / php:

pack("v",numero) = unsigned short (always 16 bit, little endian byte order)

In Java:

?
    
asked by anonymous 05.12.2014 / 17:30

0 answers