nodejs-pack icon indicating copy to clipboard operation
nodejs-pack copied to clipboard

NodeJS module - Pack/Unpack commands identical to Perl and Php for nodejs. Code is based from php5 pack.c . This should be about 10 to 20 times faster than trying to reimplement pack purely in JS.

Results 7 nodejs-pack issues
Sort by recently updated
recently updated
newest added

npm-v = 4.1.2 node -v = v7.7.3 npm instal hipack Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. pack.cc...

npm install hipack / > [email protected] install /Users/nwild/Documents/DEV/JS/secucard-connect-nodejs-client-opidemo/node_modules/hipack > node-gyp rebuild CXX(target) Release/obj.target/hipack/pack.o ../pack.cc:74:24: error: unexpected namespace name 'Buffer': expected expression char *BufferData(node::Buffer *b) { ^ ../pack.cc:74:32: error: use of...

https://github.com/peze/node-pack It works well on node version > 4

using windows 8 64 bit and visual studio 2013. Python 2.7. C:\Source\myProj2\node_modules\hipack>node "C:\Program Files\nodejs\node_modul es\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild child_process: customFds option is deprecated, use stdio instead. Building the projects in this solution...

Lines 1041-1041 in pack.cc should not be executed in Perl format mode: ``` if(!usePerlFormat) { formatlen--; /* Skip '/' separator, does no harm if inputlen == 0 */ format++; }...

When unpacking "A17", it asks for 117 bytes. When unpacking "A017", it asks for 17. I'm using NodeJS version 0.10.32 on a Mac OS X 10.9.5

while porting an existing php (internal) library to node.js I've noticed that unpacking with 'f' results in rounded values (1.4 -> 1), while php and perl resulted in the correct...