crc32

open fun crc32(s: String): Long

Convenience method for calculating the CRC2 checksum of a string.

Return

long value of the CRC32

Parameters

s

the string


open fun crc32(bytes: Array<Byte>): Long

Convenience method for calculating the CRC2 checksum of a byte array.

Return

long value of the CRC32

Parameters

bytes

the byte array