Byte: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edit of OuoumOnelr, changed back to last version by JeffLane)
(a byte is the same thing as a char?)
Line 1: Line 1:
A byte is the same as a [[char]].
A byte is eight [[Wikipedia:Bit|bits]], the size of one [[char]]. A kilobyte (KB) is approximately 1000 bytes, while a megabyte (MB) is approximately one million bytes. A gigabyte (GB) is a thousand megabytes.


[[Category:Variables]]
[[Category:Variables]]
[[Category:Glossary]]
[[Category:Glossary]]

Revision as of 00:14, 4 February 2011

A byte is eight bits, the size of one char. A kilobyte (KB) is approximately 1000 bytes, while a megabyte (MB) is approximately one million bytes. A gigabyte (GB) is a thousand megabytes.