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