Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 426 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 426 Bytes

binary-diff

Install

$ npm install binary-diff

Usage

const bsdiff = require('binary-diff')

const bufA = Buffer.from('abcd')
const bufB = Buffer.from('abef')

const diffBuffer = bsdiff(bufA, bufB)

Api

bsdiff(old: Buffer, new: Buffer) : Buffer

License

MIT © Benoit Lemaire

Credits

Modification of original implementation from :