예제 #1
0
        public override List <byte[]> SerializationStatements()
        {
            var listOfSerializations = new List <byte[]>();

            listOfSerializations.AddRange(header.SerializationStatements());
            listOfSerializations.AddRange(twist.SerializationStatements());

            return(listOfSerializations);
        }
예제 #2
0
        public override List <byte[]> SerializationStatements()
        {
            var listOfSerializations = new List <byte[]>();

            listOfSerializations.AddRange(twist.SerializationStatements());

            Array.Resize(ref covariance, 36);
            foreach (var entry in covariance)
            {
                listOfSerializations.Add(BitConverter.GetBytes(entry));
            }

            return(listOfSerializations);
        }