update

abstract fun update(old: Int, data: ByteArray, offset: Int = 0, len: Int = data.size - offset): Int

Returns an updated checksum starting with an old checksum, and then updating with a data ByteArray in the range offset and len