/// <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> /// Save to given writer /// </summary> internal void Write(ResWriter writer) { writer.WriteInt32(data.Length + 4); writer.WriteByteArray(data); }