lastIndexOf

fun lastIndexOf(needle: ByteArray, from: Int = bytes.size - needle.size): Int

Find the LAST occurrence of needle at or before from. Returns -1 if not found.