infix fun ByteArray.xorDist(other: ByteArray): Int
(source)
Determine the XOR-distance between this and an equal-length byte array.
other
- the byte-array to calculate the distance to
IllegalArgumentException
- if other is not the same length as this
Return
the distance as an integer