如何在Swift中将NSRange转换为Range?
var copyRange = NSRange()
copyRange.location = 0
copyRange.length = 44
var tmpAudioData = NSMutableData()
tmpAudioData.appendData(audioPlayer.data?.subdata(in: copyRange)) //<- error at this line