toInt

private fun ByteArray.toInt(): Int

Converts a ByteArray to an Int.

Return

The integer value represented by the first 4 bytes of the ByteArray.