(crc, buf, len, pos)
| 504 | |
| 505 | |
| 506 | function crc32(crc, buf, len, pos) { |
| 507 | var t = crcTable, end = pos + len; |
| 508 | |
| 509 | crc = crc ^ (-1); |
| 510 | |
| 511 | for (var i = pos; i < end; i++ ) { |
| 512 | crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; |
| 513 | } |
| 514 | |
| 515 | return (crc ^ (-1)); // >>> 0; |
| 516 | } |
| 517 | |
| 518 | // That's all for the pako functions. |
| 519 |
no outgoing calls
no test coverage detected