獲取數(shù)據(jù)類型占的字節(jié)數(shù) //oc int size = sizeof(float) // swift let size = MemoryLayout<UInt8>.size