/// <summary> /// Write the data of this chunk. /// </summary> protected override void WriteData(ResWriter writer) { base.WriteData(writer); var flags = entries.Select(x => x.Flags).ToArray(); writer.WriteIntArray(flags.ToArray()); }
/// <summary> /// Write the data of this chunk. /// </summary> protected override void WriteData(ResWriter writer) { byte[] data; int[] offsets; BuildStringsData(list, IsUtf8, writer, out offsets, out data); writer.WriteIntArray(offsets); writer.WriteByteArray(data); }
/// <summary> /// Write the data of this chunk. /// </summary> protected override void WriteData(ResWriter writer) { base.WriteData(writer); writer.WriteIntArray(resourceIds.ToArray()); }