Conversion of byte byte bit bit
We often see some bytes, byte, Byte and B in the book, and we use the unit KB/s that Xunlei uses when downloading (how many KB per second, can also be written as KBpbs. I was puzzled by these writing methods for a long time, especially the writing of byte and Byte, but in fact, they are all bytes. If you want to convert them to bandwidth, you need to multiply them by 8. The specific conversion is as follows:
Bit: bit (bit, abbreviated as b) is the smallest unit of memory and can represent a single bit binary number.
Byte: 1 byte (Byte, abbreviated to B) consists of 8 bits, that is, 1Byte=8bit, is the basic unit of memory and is usually used as a memory unit.
In addition, kilobytes (KB), megabytes (MB), gigabytes (GB) and even terabytes (TB) are used, and the conversion relationship between them is as follows:
1KB=1024B
1MB=1024KB
1GB=1024MB
1TB=1024GB
Some people take the first English word for convenience.
For example, MB takes M _ mlm KB, K _ m _ GB and G