Git Product home page Git Product logo

dbcxy / java_binary_diff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mindpin/java_binary_diff

0.0 2.0 0.0 104 KB

基于java实现的,以rsync算法原理为基础的二进制文件差异比较处理。本来是为了编写文件同步客户端准备的代码,但是目前没有在任何产品中使用。如果将来有能够使用的场景。可以进一步封装成容易引用的库。

Java 100.00%

java_binary_diff's Introduction

java_binary_diff

基于java实现的,以rsync算法原理为基础的二进制文件差异比较处理

2012-7-8: 实现了基础的算法逻辑,主要包括以下三个逻辑: 根据 src_file 计算 chunk_map; 根据 chunk_map 和 target_file 生成 patch; 根据 src_file 和 patch 生成与 target_file 一样的 result_file;

实现了将 patch 通过 base64 编码保存到磁盘文本文件

TODO: 将 patch 文件压缩保存

java_binary_diff's People

Contributors

ben7th avatar

Watchers

James Cloos avatar weep avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.