我需要对两个二进制字符串进行按位或运算。
例如,如果二进制字符串是“110001”和“101101”,那么我需要结果为“111101”。
我怎样才能在 Swift 中做到这一点?
bit-manipulation swift
bit-manipulation ×1
swift ×1