Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.16.212.224
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
node_modules /
buffer-crc32 /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.06
KB
-rw-r--r--
2014-12-07 19:17
README.md
1.42
KB
-rw-r--r--
2014-12-07 19:09
index.js
4.41
KB
-rw-r--r--
2016-11-21 21:21
package.json
1.67
KB
-rw-r--r--
2021-05-07 15:02
Save
Rename
# buffer-crc32 [](http://travis-ci.org/brianloveswords/buffer-crc32) crc32 that works with binary data and fancy character sets, outputs buffer, signed or unsigned data and has tests. Derived from the sample CRC implementation in the PNG specification: http://www.w3.org/TR/PNG/#D-CRCAppendix # install ``` npm install buffer-crc32 ``` # example ```js var crc32 = require('buffer-crc32'); // works with buffers var buf = Buffer([0x00, 0x73, 0x75, 0x70, 0x20, 0x62, 0x72, 0x6f, 0x00]) crc32(buf) // -> <Buffer 94 5a ab 4a> // has convenience methods for getting signed or unsigned ints crc32.signed(buf) // -> -1805997238 crc32.unsigned(buf) // -> 2488970058 // will cast to buffer if given a string, so you can // directly use foreign characters safely crc32('自動販売機') // -> <Buffer cb 03 1a c5> // and works in append mode too var partialCrc = crc32('hey'); var partialCrc = crc32(' ', partialCrc); var partialCrc = crc32('sup', partialCrc); var partialCrc = crc32(' ', partialCrc); var finalCrc = crc32('bros', partialCrc); // -> <Buffer 47 fa 55 70> ``` # tests This was tested against the output of zlib's crc32 method. You can run the tests with`npm test` (requires tap) # see also https://github.com/alexgorbatchev/node-crc, `crc.buffer.crc32` also supports buffer inputs and return unsigned ints (thanks @tjholowaychuk). # license MIT/X11