using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjetTheAlone.Outil { class toByteArray { public static byte[] Convert(byte?[] bytes) { byte[] bb = Array.ConvertAll(bytes, delegate (byte? b) { return b.Value; }); return bb; } } }