Byte describes a whole number that takes up 8 bits.
Its very similar to an int but it only ranges from 0 to 255, that also means it takes up less memory.
Initializing a Variable as a byte would look like this:
(Important! Because Int and Byte share the same literal type you will need to explicitely specify that you want the byte Datatype!)
Functions
The byte Datatype has 2 built in Functions:
GetBit(index -> int)
GetBit() returns the bit in the byte at the given position as an Int.
SetBit(index -> int, value -> int)
SetBit() will set the bit in the byte at the given position to the given value.