compute

fun SimpleChecksum.compute(data: ByteArray, offset: Int = 0, len: Int = data.size - offset): Int

Computes the checksum of the data determined in the range offset and len.