What is the rule that some software seems to show 1 as 255 and 2 as 254?

Asked 1 years ago, Updated 1 years ago, 388 views

A software in Windows displays a value of 255 for what appears to be 1 and a value of 254 for what appears to be 2 .
If so, what kind of law can you think of?
Is it a decimal conversion?

windows-10

2023-03-09 02:42

1 Answers

To be honest, I can't predict the meaning of the number, but I think the law of the number itself is subtracting the unsigned char type (0-255).


2023-03-09 07:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.