如何在Swift中将Int转换为UInt8?例.我想将22号转换为0b00010110
var decimal = 22 var binary:UInt8 = ??? //What should I write here?
swift
swift ×1