コード例 #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
ファイル: StringPool.cs プロジェクト: yuva2achieve/dot42
 /// <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());
 }