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]>).
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat byte[]