示例#1
0
            /// <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());
            }
示例#2
0
 /// <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);
 }
示例#3
0
 /// <summary>
 /// Write the data of this chunk.
 /// </summary>
 protected override void WriteData(ResWriter writer)
 {
     base.WriteData(writer);
     writer.WriteIntArray(resourceIds.ToArray());
 }