{"_id":"uint64be","_rev":"480830","name":"uint64be","description":"Encode / decode big endian unsigned 64 bit integers","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2021-08-05T09:35:33.000Z","created":"2015-08-04T21:46:29.428Z","3.0.0":"2020-04-28T11:02:02.501Z","2.0.2":"2018-03-21T23:27:05.950Z","2.0.1":"2017-01-03T12:30:57.424Z","2.0.0":"2017-01-03T12:21:27.302Z","1.0.1":"2015-08-04T21:50:38.855Z","1.0.0":"2015-08-04T21:46:29.428Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/uint64be.git"},"versions":{"3.0.0":{"name":"uint64be","version":"3.0.0","description":"Encode / decode big endian unsigned 64 bit integers","main":"index.js","dependencies":{},"devDependencies":{"standard":"^14.3.3","tape":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/uint64be.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"homepage":"https://github.com/mafintosh/uint64be","gitHead":"bc2c3d2c32ddbb78a505fc267dc45427044ced1b","_id":"uint64be@3.0.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"shasum":"2e9037689817b3714fb86034e05c25f5c3141604","size":2168,"noattachment":false,"key":"/uint64be/-/uint64be-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/uint64be/download/uint64be-3.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uint64be_3.0.0_1588071722314_0.46731895447495697"},"_hasShrinkwrap":false,"publish_time":1588071722501,"_cnpm_publish_time":1588071722501},"2.0.2":{"name":"uint64be","version":"2.0.2","description":"Encode / decode big endian unsigned 64 bit integers","main":"index.js","dependencies":{"buffer-alloc":"^1.1.0"},"devDependencies":{"standard":"^5.0.0","tape":"^4.0.2","buffer-from":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/uint64be.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"homepage":"https://github.com/mafintosh/uint64be","gitHead":"68d4cf976b37a83651f36c5ac86bc685f288ac90","_id":"uint64be@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"ef4a179752fe8f9ddaa29544ecfc13490031e8e5","size":2240,"noattachment":false,"key":"/uint64be/-/uint64be-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/uint64be/download/uint64be-2.0.2.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uint64be_2.0.2_1521674825876_0.7231587900662069"},"_hasShrinkwrap":false,"publish_time":1521674825950,"_cnpm_publish_time":1521674825950},"2.0.1":{"name":"uint64be","version":"2.0.1","description":"Encode / decode big endian unsigned 64 bit integers","main":"index.js","dependencies":{},"devDependencies":{"standard":"^5.0.0","tape":"^4.0.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/uint64be.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"homepage":"https://github.com/mafintosh/uint64be","gitHead":"e58d10ddfc90a5f21d1afa16be4244f4446788a6","_id":"uint64be@2.0.1","_shasum":"a310d94e4e5e0b02a95d678e33323f802bdc8428","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"a310d94e4e5e0b02a95d678e33323f802bdc8428","size":2206,"noattachment":false,"key":"/uint64be/-/uint64be-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/uint64be/download/uint64be-2.0.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/uint64be-2.0.1.tgz_1483446656808_0.615229079965502"},"directories":{},"publish_time":1483446657424,"_cnpm_publish_time":1483446657424,"_hasShrinkwrap":false},"2.0.0":{"name":"uint64be","version":"2.0.0","description":"Encode / decode big endian unsigned 64 bit integers","main":"index.js","dependencies":{},"devDependencies":{"standard":"^5.0.0","tape":"^4.0.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/uint64be.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"homepage":"https://github.com/mafintosh/uint64be","gitHead":"254abb6d627a70d31b1c3a7a9cdf9ea4f86d76fa","_id":"uint64be@2.0.0","_shasum":"1c9d7eedf652e9ad9b1f7d17114e9aadce14c55b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"1c9d7eedf652e9ad9b1f7d17114e9aadce14c55b","size":2216,"noattachment":false,"key":"/uint64be/-/uint64be-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/uint64be/download/uint64be-2.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uint64be-2.0.0.tgz_1483446085280_0.08238474722020328"},"directories":{},"publish_time":1483446087302,"_cnpm_publish_time":1483446087302,"_hasShrinkwrap":false},"1.0.1":{"name":"uint64be","version":"1.0.1","description":"Encode / decode big endian unsigned 64 bit integers","main":"index.js","dependencies":{},"devDependencies":{"standard":"^5.0.0","tape":"^4.0.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/uint64be.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"homepage":"https://github.com/mafintosh/uint64be","gitHead":"82c06f34f52f11c6a49e83f5ea3d7f4f7e3172e1","_id":"uint64be@1.0.1","_shasum":"1f7154202f2a1b8af353871dda651bf34ce93e95","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"1f7154202f2a1b8af353871dda651bf34ce93e95","size":2215,"noattachment":false,"key":"/uint64be/-/uint64be-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/uint64be/download/uint64be-1.0.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1438725038855,"_cnpm_publish_time":1438725038855,"_hasShrinkwrap":false},"1.0.0":{"name":"uint64be","version":"1.0.0","description":"Encode / decode big endian unsigned 64 bit integers","main":"index.js","dependencies":{},"devDependencies":{"standard":"^5.0.0","tape":"^4.0.2"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/uint64be.git"},"scripts":{"test":"standard && tape test.js"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"homepage":"https://github.com/mafintosh/uint64be","gitHead":"c80f7a1b41bd4ef89d030d0ae9fc80a469d50b15","_id":"uint64be@1.0.0","_shasum":"7f67ea5b86b1c1b5f1fa6bdef1c633fc4a1b6dfc","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"7f67ea5b86b1c1b5f1fa6bdef1c633fc4a1b6dfc","size":2196,"noattachment":false,"key":"/uint64be/-/uint64be-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/uint64be/download/uint64be-1.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1438724789428,"_cnpm_publish_time":1438724789428,"_hasShrinkwrap":false}},"readme":"# uint64be\n\nEncode / decode big endian unsigned 64 bit integers\n\n```\nnpm install uint64be\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/uint64be.svg?style=flat)](http://travis-ci.org/mafintosh/uint64be)\n\n## Usage\n\n``` js\nvar uint64be = require('uint64be')\n\nvar buf = uint64be.encode(42) // returns a 8 byte buffer with 42 encoded\nconsole.log(uint64be.decode(buf)) // returns 42\n```\n\n## Notice\n\nJavascript (currently) only supports integers up to `2^53 - 1` without any\nloss of precision so beware of this if you encode / decode any integers larger than that.\n\n## API\n\n#### `buffer = uint64be.encode(num, [buffer], [offset])`\n\nEncode a number as a big endian 64 bit unsigned integer.\nOptionally you can pass a buffer + offset as the 2nd and 3rd argument\nand the number will be encoded into that buffer at the given offset.\n\n#### `num = uint64be.decode(buffer, [offset])`\n\nDecode a number from a buffer.\n\n#### `length = uint64be.encodingLength(num)`\n\nAlways returns `8`. Added to comply with the standard encoding interface in node.\nSimilarly `uint64be.encode.bytes` and `uint64be.decode.bytes` is also set to `8`.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/uint64be","bugs":{"url":"https://github.com/mafintosh/uint64be/issues"},"license":"MIT"}