Microsoft.Protocols.TestSuites.SharedAdapter.CellID.DoDeserializeFromByteArray C# (CSharp) Méthode

DoDeserializeFromByteArray() protected méthode

This method is used to deserialize the CellID basic object from the specified byte array and start index.
protected DoDeserializeFromByteArray ( byte byteArray, int startIndex ) : int
byteArray byte Specify the byte array.
startIndex int Specify the start index from the byte array.
Résultat int
        protected override int DoDeserializeFromByteArray(byte[] byteArray, int startIndex)
        {
            int index = startIndex;

            this.ExtendGUID1 = BasicObject.Parse<ExGuid>(byteArray, ref index);
            this.ExtendGUID2 = BasicObject.Parse<ExGuid>(byteArray, ref index);

            return index - startIndex;
        }
    }