0.0.5 • Published 11 years ago

bigbuffer v0.0.5

Weekly downloads
268
License
MIT
Repository
github
Last release
11 years ago

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)
0.0.5

11 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago