C# Класс 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]>).
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Apply ( byte baseData, byte delta ) : byte[]

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

Описание методов

Apply() публичный статический Метод

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. ///
Результат byte[]