Pelago
Core typesPrimitive types

byte

byte is another name for uint8.

byte is another name for uint8: an unsigned 8-bit integer, from 0 to 255. It is the element type of binary data such as [byte]. Everything on the uint8 page applies.

fn main() {
    const a: byte = 255
    const b: uint8 = a
    print("#(a == b) #(a +% 1)")
}
true 0

uint8, Primitive types

On this page