Pike v8.0 release 1738

Module VCDiff

Description

Pike glue for the open-vcdiff differential compression library. http://code.google.com/p/open-vcdiff/

Encoding and decoding relies on a common string that the differences are computed against - this string is called the dictionary.

Basic usage:

string dict = "abcdef";
  VCDiff.Encoder encoder = VCDiff.Encoder (dict);
  string encoded = encoder->encode ("abcdefghijklmnopqrstuvwxyz");
  VCDiff.Decoder decoder = VCDiff.Decoder (dict);
  string decoded = decoder->decode (encoded);