node-simple-vcdiff
A really simple wrapper around open-vcdiff
Description
This wraps the simplest API of Open-VCDiff for node v0.12
API
Require
var vcdiff = ;
Encode
Compute the difference between the dictionnary and the target, sending the result buffer to the callback:
vcdiff;
Decode
Apply a previously computed delta to the dictionnary, sending the result buffer to the callback:
vcdiff;
Callback
{}
Sample
var vcdiff = ; var dictionary = 'testing data.';var target = 'testing dota is not the same.'; vcdiff;
Install
npm install simple-vcdiff