将字节中的某个位赋值
摘要:
[Description("将字节中的某个位赋值")] public static byte SetbitValue(byte value, int offset, bool bitValue) { return bitValue ? (byte)(value | (byte)Math.Pow(2, 阅读全文
posted @ 2025-01-18 11:49 简简单单2018 阅读(23) 评论(0) 推荐(0) 编辑