This article's documentation is for anything that uses the Source engine. Click here for more information.

Byte

From Valve Developer Community
Revision as of 14:41, 28 May 2025 by Le Glaconus (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

English (en)Deutsch (de)中文 (zh)Translate (Translate)

A Wikipedia icon byte is eight Wikipedia icon bits, the size of one char. A kilobyte (KB) is 1024 bytes, while a megabyte (MB) is 1024 kilobytes, a gigabyte (GB) is 1024 megabytes, etc.

A byte is the minimum amount of memory allocatable. Even a bool is one byte (thus the benefits of BitVec[Clarify]).

  • In GoldSrc GoldSrc and Source Source, byte is a typedef for unsigned char, making its range 0-255.