Microsoft.Protocols.TestSuites.SharedAdapter.CellManifestCurrentRevision.DeserializeItemsFromByteArray C# (CSharp) Метод

DeserializeItemsFromByteArray() защищенный Метод

Used to de-serialize the element.
protected DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void
byteArray byte A Byte array
currentIndex int Start position
lengthOfItems int The length of the items
Результат void
        protected override void DeserializeItemsFromByteArray(byte[] byteArray, ref int currentIndex, int lengthOfItems)
        {
            int index = currentIndex;
            this.CellManifestCurrentRevisionExtendedGUID = BasicObject.Parse<ExGuid>(byteArray, ref index);

            if (index - currentIndex != lengthOfItems)
            {
                throw new StreamObjectParseErrorException(currentIndex, "CellManifestCurrentRevision", "Stream object over-parse error", null);
            }

            currentIndex = index;
        }