Encoding format classification b, kb, mb, gb, tb, pb, zb hex conversion

Encoding format: 01 according to different classifications
8 Bit bits (bits) = 1 byte byte (abbreviated B)
1KB = 1024B
1MB = 1024KB
1GB = 1024MB
1TB = 1024GB
1PB = 1024TB
1Zb = 1024pb
a byte is the smallest 8 in bits
commonly used encoding format:
Utf-three byte representing a character. 8
0100 0000 1,010,010,100,010,001 three
Gbk a character is two bytes
0,100,000,001,000,000 two
Php three bytes representing a character
java a character two bytes

Guess you like

Origin blog.csdn.net/luckyGirlIT/article/details/93736072