binary-streams / loggersoft.kotlin.streams / kotlin.ByteArray / crc32

crc32

fun ByteArray.crc32(startValue: Int = CRC32_START_VALUE, finalize: Boolean = true, offset: Int = 0, size: Int = this.size - offset): Int

Calculates CRC32 of ByteArray from offset with size starting from startValue. If finalize is true returned value will be final (when data processed partially for the last block).