C# Class GitSharp.Core.BinaryDelta

Recreate a stream from a base stream and a GIT pack delta. This entire class is heavily cribbed from patch-delta.c in the GIT project. The original delta patching code was written by Nicolas Pitre (<[email protected]>).
ファイルを表示 Open project: stschake/GitSharp Class Usage Examples

Public Methods

Method Description
Apply ( byte baseData, byte delta ) : byte[]

Apply the changes defined by delta to the data in base, yielding a new array of bytes.

Method Details

Apply() public static method

Apply the changes defined by delta to the data in base, yielding a new array of bytes.
public static Apply ( byte baseData, byte delta ) : byte[]
baseData byte some byte representing an object of some kind.
delta byte /// A git pack delta defining the transform from one version to /// another. ///
return byte[]