Пример #1
0
        public byte[] ToByte()
        {
            List <byte> retour = new List <byte>();

            retour.AddRange(BitConverter.GetBytes(Id));
            retour.AddRange(BitConverter.GetBytes(Latitude));
            retour.AddRange(BitConverter.GetBytes(Longitude));
            retour.Add(Type);
            retour.AddRange(Tour.GetBytes(9));
            retour.AddRange(Nom.GetBytes(30));
            return(retour.ToArray());
        }