toNSData

fun ByteString.toNSData(): NSData(source)

Creates a new NSData containing the data copied from this ByteString.