bonjour;
j'ai mis dans mon code:
void decodeSeq(int[] buffer, TCmdQueue FileAttente, int iCodeSeq)
{
int iNdexParam =0;
//correspond aux séquences(lignes)
for (int i=0; i<=TablSeqRFPP.length; i++)
{
//correspond pour chaque commande (colonnes)
for (int j=0; j<= TablSeqRFPP[j].length; j++)
{
iNdexParam += ParamCmdRFPP[TablSeqRFPP[j]].nbParamIn;ligne 1
decodeCmd( buffer, FileAttente, iNdexParam);
}
}
dans la ligne1, il met erreur :
incompatible types
found : byte[]
required: int
et j'ai essayé inValue, pour convertir mon tabaleau de byte en int:
iNdexParam += ParamCmdRFPP[TablSeqRFPP[j].intValue()].nbParamIn;
il me met erreeur:
symbol : method intValue ()
location: class byte[]
quelq'un peut me dire comment on peut faire une conversion un tableau de byte en int.
merci