function crc32
Jump to headingcrc32(data: string
| Buffer
| ArrayBufferView,value?: number,): numberComputes a 32-bit Cyclic Redundancy Check checksum of data.
If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
Parameters Jump to heading
Jump to headingdata: string
| Buffer
| ArrayBufferViewWhen data is a string, it will be encoded as UTF-8 before being used for computation.
optional
Jump to headingvalue: numberAn optional starting value. It must be a 32-bit unsigned integer. @default 0
Return Type Jump to heading
numberA 32-bit unsigned integer containing the checksum.