Convert Data To Nsdata Swift 4