{"name":"crc-utils2","version":"0.9.11","description":"CRC Utils. Combines two or more CRC32 checksums into new one.","keywords":["crc32","crc32_combine","crc","gzip"],"author":{"name":"Sławomir Janecki","email":"janecki@gmail.com"},"dependencies":{"compress-buffer-crc32":"","binpack":""},"main":"./index.js","repository":{"type":"git","url":"git://github.com/DreamLab/crc32_combine2.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"kuebk","email":"kuebzky@gmail.com"},"_id":"crc-utils2@0.9.11","scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"0b4e733c8e497bfc84903b3ddfbb5bff74200ce8","tarball":"http://registry-npm.ywwl.com/crc-utils2/download/crc-utils2-0.9.11.tgz","integrity":"sha512-C2yF/BeAg/xRutnU3/JjFCzl6O5h9qfqbEj5der0WonpMUBJqh9T4wbrmhl4QjUuwRhmBvlNn2fFDyePjVwPjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoHY2jxxUYF7IA7KY4Pi0lSP5dzAWZQz/nueXi1oK/VQIhALQbqWpY+XzR0cbHkENShVLabxEq2vxebBE2zJYX4XFB"}],"size":3933,"noattachment":false,"key":"/crc-utils2/-/crc-utils2-0.9.11.tgz"},"maintainers":[{"name":"soymo","email":"grzegorz.lyczba@gmail.com"},{"name":"kuebk","email":"kuebzky@gmail.com"}],"directories":{},"readme":"Node CRC32 Utils\n==============\n\nCombines two or more CRC32 checksums into new one.\n\n##How to build/install:\n```\nnode-gyp configure build\n```\nor\n```\nnpm install crc-utils\n```\n\n##Example:\n```\nvar crcUtils = require('crc-utils');\n\n// for crc32 checksum use lib: https://github.com/brianloveswords/buffer-crc32/\nvar crc32 = require('buffer-crc32');\n\nvar foo = new Buffer('foo');\nvar bar = new Buffer('bar');\n\nvar fooCrc32 = crc32(foo); // <Buffer 8c 73 65 21>\nvar barCrc32 = crc32(bar); // <Buffer 76 ff 8c aa>\n \nvar foobar = new Buffer('foobar');\nvar foobarCrc32 = crc32(foobar);\n\nvar foobarCrc32Combined = crcUtils.crc32_combine(\n  fooCrc32.readUInt32BE(0), \n  barCrc32.readUInt32BE(0), \n  bar.length\n); \n\n// CRC32 are the same but Endianness is prepared for GZIP format\nconsole.log(foobarCrc32);         // <Buffer 9e f6 1f 95>\nconsole.log(foobarCrc32Combined); // <Buffer 95 1f f6 9e>\n```\n","publish_time":1371463954628,"_cnpm_publish_time":1371463954628,"dist-tags":{"latest":"0.9.13"}}