{"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":{"integrity":"sha512-mliiCSrsE29aNBI7O9W5gGv6WmA9kBR8PtTt6Apaxns076IRdYrrtFhXHEWMj5CSum3U7cv7/pi4xmi4XsIOqg==","shasum":"2e9037689817b3714fb86034e05c25f5c3141604","tarball":"http://registry-npm.ywwl.com/uint64be/download/uint64be-3.0.0.tgz","fileCount":6,"unpackedSize":4669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqA0qCRA9TVsSAnZWagAAe5kP/i/Q7MnLBP2JpoLd1yOP\nRx3q2R7reS/V0miIzy+8JIfictUvsfuzlb4iLvKyLLdgCf7hyhjD04pFVEDO\n5kxZDzuqb0CL0QSyLbBXe+ozD0cObjlXNcAeEMt2SLbty78TdU3iU12zKCLE\no9I7W8ZdR904F7j81vcR4zVhzEBlmxlJA1INSSn4SfAKnA+JzEazmTCui6+C\nBWIUJFuMEoWB/+Z6HxuOqGBPS+tpP+ctxVEKUMSEZJDvJk+fEZZDAGzCZMPp\nJC6UgyeLwha7RA67jd0XbccfVDTqebw1Lyt1ctb36/OyFhXAThE23U3JaEkC\ngc9amedxJxdNDJzaJs47lNwxNtOPG0YwlicWDrXyunCGKhrLY02mW9xJJud6\n7Qhq2S1p99nZzBgBawQGk4BVhqjO2uRs7YGSbWjugp0a9BtpknoMQ80ItReb\nP8ZSnXU7uRnkz0zi6N94PHgySX0Jsy8I3EfkUD9xvFD4A5ePqRqDI6+OrY9C\nOaEwBnwjlkZKNRQTiA48zWszgDX+4UadjKYMNh7hw6rO4EeSTFvtG/r2v39V\noiQX1ILEDHCIGGCPKGZKLlwNd+YKM5f3pAALokTSRghepJSiBXiCrWcSvZRv\nD8S34W1ZT3RhQBH3b+Ymhq8vS1ujRjsG3YRSpltH75Xhf6RBxoeL2ivU0HwM\nqN1s\r\n=QSxg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWE5xY2nQ841eYFAfHofUToDOFRdLJls6iWQ0fyOv7RAiBbVjOSL1qxFKSRqRrhsIBn/nkLR+8NmIwqzmVqtLzE2Q=="}],"size":2168,"noattachment":false,"key":"/uint64be/-/uint64be-3.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_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,"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","publish_time":1588071722501,"_cnpm_publish_time":1588071722501,"dist-tags":{"latest":"3.0.0"}}