Permission setting problem

xiaoxiao2021-03-06  55

An int type four bytes, indicating that hexadecimal can be 0xfffffffff

In the hexadecimal, the number of rights can be expressed as => Hexadecimal binary

0x1 10x2 100x4 1000x8 1000

And 0x1 0x2 0x4 0x8 = 0xF

Thereof

0xffffFFF = 0x1 0x2 0x4 0x8 0x10 0x20 0x40 0x80 .................. 0x1000 0000 0x2000 000 0x4000 0000 0x8000 0000

So a value of an int type can represent 4x8 = 32 kinds of permissions, the maximum authority is 8000 0000

right? ?

转载请注明原文地址:https://www.9cbs.com/read-110373.html

New Post(0)