Ejemplo n.º 1
0
		/// <summary>
		///     Writes a meta change back to a cache file.
		/// </summary>
		/// <param name="cacheFile">The cache file to write the change to.</param>
		/// <param name="change">The change to write.</param>
		/// <param name="output">The stream to write the change to.</param>
		public static void WriteChange(ICacheFile cacheFile, DataChange change, IWriter output)
		{
			output.SeekTo(cacheFile.MetaArea.PointerToOffset(change.Offset));
			output.WriteBlock(change.Data);
		}
Ejemplo n.º 2
0
 /// <summary>
 ///     Writes a meta change back to a cache file.
 /// </summary>
 /// <param name="cacheFile">The cache file to write the change to.</param>
 /// <param name="change">The change to write.</param>
 /// <param name="output">The stream to write the change to.</param>
 public static void WriteChange(ICacheFile cacheFile, DataChange change, IWriter output)
 {
     output.SeekTo(cacheFile.MetaArea.PointerToOffset(change.Offset));
     output.WriteBlock(change.Data);
 }