Skip to content

mafintosh/dat-binary-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dat-binary-encoder

Binary encoder/decoder for a dat changes feed

npm install dat-binary-encoder

build status dat

Usage

To encode a changes feed

var enc = require('dat-binary-encoder')

db.createChangesReadStream()
  .pipe(enc.encode())
  .pipe(someWritableStream)

And to decode a changes feed

someReadableStream
  .pipe(enc.decode())
  .pipe(db.createChangesWriteStream())

License

MIT

About

Binary encoder/decoder for a dat changes feed

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published