useNSData

fun <R> ByteArray.useNSData(startIndex: Int = 0, endIndex: Int = size, block: (NSData) -> R): R(source)