je veux convertir un string en tableau de byte, voici la=20
m=E9thode que j'utilise (qui me d=E9truit la moiti=E9 des=20
caract=E8res)=20
---
char [] cResult =3D sVal.ToString().ToCharArray();
byte [] bResult =3D new byte[cResult.Length];
for(int i =3D 0; i< cResult.Length; i++)
{
bResult[i] =3D (byte)cResult[i];
}
---
qqun a t-il une autre solution ?