crc32-from-arraybuffer
v0.0.3
Published
## Usage
Downloads
175
Maintainers
Readme
CRC32FromArrayBuffer
Usage
import { crc32FromArrayBuffer } from 'crc32-from-arraybuffer';
// ...
const crc: number = crc32FromArrayBuffer(arrayBuffer); // crc is int32
// ...
References
- This code is copied from stackoverflow and made small modify by @snomiao. How to calculate the CRC of an arrayBuffer (From FileReader in javascript) compatible with the CRC32 function in php? - Stack Overflow
Original authors: