lnx00 / Lua-BinPack

Binary packing library for Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BinPack.lua

Binary packing library for Lua

Usage

Require the library:

local BinPack = require("BinPack")

Pack binary strings:

local packed = BinPack.pack("\01\02\03", "\04\05\06")

Unpack binary strings to table:

local unpacked = BinPack.unpack(packed)

About

Binary packing library for Lua


Languages

Language:Lua 100.0%