Types/Byte

From SC2Mapster Wiki
Jump to: navigation, search

Byte

  • Byte is a 8-bit integer that can have the values in the signed range of -127 (-27 + 1) to 127 (27 - 1) or in the unsigned range of 0 to 255.
byte x = 2;
x *= 4; // now 8
x *= 16; // 128 - Overflow.