Convertir un tableau d’octet en un tableau de int

Author:

 java, table
{filelink=4678}

public class Tab_Conversion
 {

   /*
   * La fonction reçoit un tableau
   * d'octet en paramètre et retourne
   * un tableau de int comme valeur
   */
    public static int[] byte2int(byte[]byte_Tab)
    {
        int intTab_lenght = byte_Tab.length >>> 2;
        int[]int_Tab = new int[intTab_lenght];

        for (int i=0; i
    

Leave a Reply

Your email address will not be published. Required fields are marked *