mask-byte ( x -- y )


Vocabulary
io.binary

Inputs and outputs
xan integer
ya non-negative integer


Word description
Masks off the least significant 8 bits of an integer.

Definition
USING: math ;

IN: io.binary

: mask-byte ( x -- y ) 255 bitand ; inline