checkIndices

fun checkIndices(offset: Int, length: Int, bytes: ByteArray): Nothing