通过移位和逻辑操作,通用 定义struct 和union 如 union { struct { unsigned b0:1; unsigned b1:1; unsigned b2:1; unsigned b3:1; unsigned b