bsdiff 0.1.0 copy "bsdiff: ^0.1.0" to clipboard
bsdiff: ^0.1.0 copied to clipboard

discontinued

Binary diff/patch algorithm based on bsdiff by Colin Percival.

BSDiff #

pub package

Binary diff/patch algorithm based on bsdiff 4.3 by Colin Percival. It's very effective at compressesing incremental changes in binaries.

This implementation has the following differences from Colin's code, to make it easier to read and apply patches in Java and Objective C:

  • Using gzip instead of bzip2 because gzip is included in JDK by default
  • Using big- instead of little-endian serialization to simplify Java code
  • Using two's complement instead of high-bit coding for negatives numbers

Usage #

To use this package, add bsdiff as a dependency in your pubspec.yaml file.

Example #

Import the library via

import 'package:bsdiff/bsdiff.dart';

Then use the bsdiff and bspatch Dart functions in your code. To see how this is done, check out the example app.

3
likes
15
pub points
24%
popularity

Publisher

verified publisherflutter.dev

Binary diff/patch algorithm based on bsdiff by Colin Percival.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on bsdiff