Bit

(Redirected from Category:Bit)

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2013.09

Description

THIS PLUGIN IS DEPRECATED SINCE GIDEROS 2022.1

Provides bit based operations.

Methods

bit.arshift returns the bitwise arithmetic right-shift
bit.band returns the bitwise and of its argument.
bit.bnot returns the bitwise not of its argument.
bit.bor returns the bitwise or of its argument.
bit.bswap swaps the bytes of its argument and returns it
bit.bxor returns the bitwise xor of its argument.
bit.lshift returns the bitwise logical left-shift
bit.rol returns the bitwise left rotation
bit.ror returns the bitwise right rotation
bit.rshift returns the bitwise logical right-shift
bit.tobit normalizes a number to the numeric range for bit operations
bit.tohex converts its first argument to a hex string.

Events

Constants