Microsoft.Protocols.TestSuites.SharedAdapter.ExGUIDArray.SerializeToByteList C# (CSharp) Method

SerializeToByteList() public method

This method is used to convert the element of ExGUIDArray basic object into a byte List.
public SerializeToByteList ( ) : List
return List
        public override List<byte> SerializeToByteList()
        {
            this.Count.DecodedValue = (uint)this.content.Count;

            List<byte> result = new List<byte>();
            result.AddRange(this.Count.SerializeToByteList());
            foreach (ExGuid extendGuid in this.content)
            {
                result.AddRange(extendGuid.SerializeToByteList());
            }

            return result;
        }