Type library
Revision 2014.2404
Keywords bit, wise, fiddling
Sample code
See also Marketplace
Availability Pro, Enterprise


The plugin provides access to Mike Pall's BitOp library Lua BitOp

BitOp's documentation is available from


The following platforms are supported:


local bit = require "plugin.bit"

Project Settings


When you build using the Corona Simulator, the server automatically takes care of integrating the plugin into your project.

All you need to do is add an entry into a plugins table of your build.settings. The following is an example of a minimal build.settings file:

settings =
    plugins =
        -- key is the name passed to Lua's 'require()'
        ["plugin.bit"] =
            -- required
            publisherId = "com.coronalabs",

Sample Code

See the sample code provided with the Corona SDK.


More support is available from the Corona Labs team: