Microsoft.Protocols.TestSuites.SharedAdapter.QueryAccessSubResponseData.DeserializeSubResponseDataFromByteArray C# (CSharp) Method

DeserializeSubResponseDataFromByteArray() protected method

Deserialize sub response data from byte array.
protected DeserializeSubResponseDataFromByteArray ( byte byteArray, int &currentIndex ) : void
byteArray byte The byte array which contains sub response data.
currentIndex int The index special where to start.
return void
        protected override void DeserializeSubResponseDataFromByteArray(byte[] byteArray, ref int currentIndex)
        {
            int index = currentIndex;

            this.ReadAccessResponse = StreamObject.GetCurrent<ReadAccessResponse>(byteArray, ref index);
            this.WriteAccessResponse = StreamObject.GetCurrent<WriteAccessResponse>(byteArray, ref index);

            currentIndex = index;
        }
    }