Library.Bit.*

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

Overview

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

BitOp's documentation is available from bitop.luajit.org

Platforms

The following platforms are supported:

Syntax

local bit = require "plugin.bit"

Project Settings

SDK

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.

Support

More support is available from the Corona Labs team: