public int Deserialize(byte[] ropBytes, int startIndex)
{
int index = startIndex;
this.RopId = ropBytes[index++];
this.OutputHandleIndex = ropBytes[index++];
this.ReturnValue = (uint)BitConverter.ToInt32(ropBytes, index);
index += sizeof(uint);
if (this.ReturnValue == 0)
{
this.RowCount = (uint)BitConverter.ToInt32(ropBytes, index);
index += sizeof(uint);
}
return index - startIndex;
}
}