/// <summary>
/// Deserialize items from byte array.
/// </summary>
/// <param name="byteArray">The byte array which contains response message.</param>
/// <param name="currentIndex">The index special where to start.</param>
/// <param name="lengthOfItems">The length of items.</param>
protected override void DeserializeItemsFromByteArray(byte[] byteArray, ref int currentIndex, int lengthOfItems)
{
if (lengthOfItems != 4)
{
throw new StreamObjectParseErrorException(currentIndex, "Win32Error", "Stream object over-parse error", null);
}
this.ErrorCode = LittleEndianBitConverter.ToInt32(byteArray, currentIndex);
currentIndex += 4;
}