// Token: 0x060012CB RID: 4811 RVA: 0x0006DD94 File Offset: 0x0006BF94 private static void ReadNextRecord(Stream stream, bool isFromOldFile, ref uint recordCount, ref long fileBytesRemaining, ref byte[] recordBuffer, ref int recordBytesRemaining, ref Guid?objectGuid, ref byte[] propertyDescriptorsBuffer, ref int headerPropertyDescriptorsCount, ref int detailPropertyDescriptorsCount) { recordBuffer = DiffFileGenerator.ReadNextUncompressedRecord(stream); fileBytesRemaining -= (long)((ulong)recordBuffer.Length); recordBytesRemaining = recordBuffer.Length; recordCount += 1U; if (recordCount > 2U) { object detailPropertyValue = DiffFileGenerator.GetDetailPropertyValue((PropTag)2355953922U, recordBuffer, propertyDescriptorsBuffer, headerPropertyDescriptorsCount, detailPropertyDescriptorsCount, isFromOldFile); objectGuid = new Guid?(new Guid((byte[])detailPropertyValue)); return; } if (recordCount == 1U) { propertyDescriptorsBuffer = recordBuffer; headerPropertyDescriptorsCount = BitConverter.ToInt32(propertyDescriptorsBuffer, 4); detailPropertyDescriptorsCount = BitConverter.ToInt32(propertyDescriptorsBuffer, 8 + headerPropertyDescriptorsCount * 2 * 4); OABLogger.LogRecord(TraceType.InfoTrace, "PropertyDescriptorsBuffer is: {0}", new object[] { BitConverter.ToString(propertyDescriptorsBuffer) }); OABLogger.LogRecord(TraceType.InfoTrace, "Header property count is {0}, detail property count is {1}", new object[] { headerPropertyDescriptorsCount, detailPropertyDescriptorsCount }); } objectGuid = new Guid?(Guid.Empty); }