src/net/java/sip/communicator/impl/packetlogging/PacketLoggingServiceImpl.java
/**
     * Puts the short value to the array.
     * @param value value to convert to bytes.
     * @param data destination data
     * @param offset offset in the data
     */
Puts the short value to the array.
@param value value to convert to bytes.
@param data destination data
@param offset offset in the data
Puts the short value to the array . @param value value to convert to bytes . @param data destination data @param offset offset in the data
private static void writeShort(int value, byte[] data, int offset)
    {
        data[offset] = (byte) (value >> 8);
        data[offset + 1] = (byte) value;
    }
private static void writeShort ( int value , byte [ ] data , int offset ) { data [ offset ] = ( byte ) ( value >> 8 ) ; data [ offset + 1 ] = ( byte ) value ; }
Puts the short value to the array.
Puts the short value to the array .