toData

inline fun <Error class: unknown class>.toData(array: ByteArray): NSData