📜  字节

📅  最后修改于: 2020-11-07 09:19:26             🧑  作者: Mango

字节数

字节是数据测量的单位,主要由八位组成。字节是一系列二进制数字,其中包含“ 0”或“ 1”。一个字节用大写字母“ B”表示,而一位用小写字母“ b”表示。位和字节的符号在IEC80000-13和IEEE 1541中指定。该术语由Werner Buchholz于1956年引入。

字节是计算机系统中存储容量的基本单位。计算机还使用它来表示字符,例如数字,字母或符号。单个字节可用于指示28个或256个不同的值。这些值从00000000 Binary开始到11111111 Binary。

半字节是字节之前的数据单元。而且,千字节紧随其后。

该字节用于测量内存大小和数据传输速度。以下是内存大小字节的示例:

并且,以下是数据传输速度的示例:

  • 每秒千字节,
  • 每秒兆字节等

一些编程语言还使用字节作为数据类型。例如,C,C++和Java使用字节作为数据类型。

其他数据单位到字节的转换

以下列表显示了其他数据单位中的字节值:

S.No. Other Units Values in bytes
1. 1 Bit (b) equals to 0.125 Bytes
2. 1 Kilobit (kbit) equals to 125 Bytes
3. 1 Kibibit equals to 128 Bytes
4. 1 Megabit (Mbit) equals to 125000 Bytes
5. 1 Mebibit equals to 131072 Bytes
6. 1 Gigabit (Gbit) equals to 1.25e + 8 Bytes
7. 1 Gibibit is equals to 1.342e+8 Bytes
8. 1 Terabit (Tbit) equals to 1.25e+11 Bytes
9. 1 Tebibit equals to 1.374e+11 Bytes
10. 1 Petabit equals to 1.25e+14 Bytes
11. 1 Pebibit equals to 1.407e+14 Bytes
12. 1 exabit equals to 1.25e+17 Bytes
13. 1 Exbibit equals to 144115188075855872 Bytes
14. 1 Yobibits equals to 1.511e+23 Bytes
15. 1 Nibble equals to 0.5 bytes
16. 1 Byte equals to 1 Bytes
17. 1 Kilobyte (KB) equals to 1000 Bytes
18. 1 Kibibyte equals to 1024 Bytes
19. 1 Megabyte (MB) equals to 1e+6 Bytes
20. 1 Mebibytes equals to 1.049e+6 Bytes
21. 1 Gigabytes (GB) equals to 1e+9 Bytes
22. 1 Gibibytes equals to 1.074e+9 Bytes
23. 1 Terabytes (TB) equals to 1e+12 Bytes
24. 1 Tebibytes equals to 1.1e+12 Bytes
25. 1 Petabytes (PB) equals to 1e+15 Bytes
26. 1 Pebibytes equals to 1.126e+15 Bytes
27. 1 exabytes (EB) equals to 1.0e+18 Bytes Bytes
28. 1 Exbibytes equals to 1152921504606846976 Bytes
29. 1 Zettabytes equals to 1.0e+21 Bytes
30. 1 Yottabytes equals to 1.0e+24 Bytes
31. 1 Yobibytes equals to 1.2089258196146e+24 Bytes

将1个字节转换为一些常见的数据存储单元

以下列表显示了以1个字节为单位的数据单元的值:

S.No. 1 Bytes Data units
1. 1 Byte equals to 8 bits (b)
2. 1 Byte equals to 2 nibbles (nibble)
3. 1 Byte equals to 1 bytes (B)
4. 1 Byte equals to 125 Kilobits (Kbit)
5. 1 Byte equals to 0.0078125 kibibits (kibit)
6. 1 Byte equals to 8e-6 megabits (Mbit)
7. 1 Byte equals to 7.6294e-6 mebibits (Mibit)
8. 1 Byte equals to 8e-9 gigabits (Gbit)
9. 1 Byte equals to 7.4506e-9 Gibibits (Gibit)
10. 1 Byte equals to 8e-12 Terabits (Tbit)
11. 1 Byte equals to 7.276e-12 Tebibits (Tibit)
12. 1 Byte equals to 8e-15 Petabits (Pbit)
13. 1 Byte equals to 7.1054e-15 Pebibits (Pibit)
14. 1 Byte equals to 0.001 Kilobytes (Kb)
15. 1 Byte equals to 0.000976563 kibibytes
16. 1 Byte equals to 1e-6 Megabytes (Mb)
17. 1 Byte equals to 9.5367e-7 Mebibytes
18. 1 Byte equals to 1e-9 Gigabytes (Gb)
19. 1 Byte equals to 9.3132e-10 Gibibytes
20. 1 Byte equals to 1e-12 Terabytes (Tb)
21. 1 Byte equals to 9.0949e-13 Tebibytes
22. 1 Byte equals to 1e-15 Petabytes (Pb)
23. 1 Byte equals to 8.8818e-16 Pebibytes