Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 920 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 920 Bytes

An encoder and decoder implemented by java for the "VCDIFF Generic Differencing and Compression Data Format" described by RFC 3284 .

This project is mainly from the c++ implemention: open-vcdiff. The encoding strategy is largely based on Bentley-McIlroy 99: "Data Compression Using Long Common Strings."

If maven is used, add:

        <dependency>
            <groupId>net.dongliu</groupId>
            <artifactId>jvcdiff</artifactId>
            <version>2.0.1</version>
        </dependency>

to your pom.xml file.

The lib has a simple API, go though VcdiffEncode / VcdiffDecode to get the usage.