byte-reverse ( n signed? -- quot )
Alien endian-aware types

Next:be8


Vocabulary
alien.endian

Inputs and outputs
nan integer
signed?a boolean
quota quotation


Word description
Reverses the n bytes in an integer with bitwise operations. The second parameter only works for 1, 2, 4, or 8 byte signed numbers.

Definition