bigbuffer
Using list of buffer to break through Nodejs's buffer size limitation
Last updated 6 years ago by nstal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bigbuffer 
SYNC missed versions from official npm registry.

node-bigbuffer

Using list of buffer to construct a BigBuffer to break through nodejs's buffer size limitation (1G)

Test

need install mocha

npm test

Usage

BigBuffer.fromFile "bigFile",(err,bb)->
    console.assert bb.length # is buffer length
    # get a normal buffer
    buffer = bb.slice(0,10)
    # get byte at index
    byte = bb.byteAt(1000)

Current Tags

  • 0.0.5                                ...           latest (6 years ago)

5 Versions

  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 6
Last Month 16
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |