toByteArray

internal fun NSData.toByteArray(): ByteArray(source)

Copies an NSData buffer into a ByteArray.