Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


Serialize lua objects into a binary block

Subscribe to updates I use lua-serialize

Statistics on lua-serialize

Number of watchers on Github 80
Number of open issues 2
Average time to close an issue about 1 month
Main language C
Average time to merge a PR about 1 hour
Open pull requests 2+
Closed pull requests 1+
Last commit about 4 years ago
Repo Created about 8 years ago
Repo Last Updated over 2 years ago
Size 27 KB
Organization / Authorcloudwu
Page Updated
Do you use lua-serialize? Leave a review!
View open issues (2)
View lua-serialize activity
View on github
Fresh, new opensource launches ๐Ÿš€๐Ÿš€๐Ÿš€
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating lua-serialize for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)
    serialize = require "serialize"

    -- pack serialize lua objects into a lightuserdata (use malloc internal) 
    -- It support type : nil , number , boolean, lightuserdata , string , table (without recursion)
    bin = serialize.pack (...) 

    -- You can append some objects end of the binary block packed before
    serialize.append(bin, ...)

    -- unpack extract ... from bin, and free the memory. 
    -- You can only unpack binary block once.

    -- You can use serialize.serialize(bin) to serialize them to one block
    -- You can send the block to the other process.
    local block, length = serialize.serialize(bin)
lua-serialize open pull requests (View All Pulls)
  • add lua 5.1 and 5.2 support
  • ไฟฎๆญฃtable็š„ๆ•ฐๅ€ผ็ดขๅผ•้•ฟๅบฆๅคงไบŽ10ไบง็”Ÿ็š„็ดขๅผ•้”™่ฏฏ้—ฎ้ข˜.
lua-serialize questions on Stackoverflow (View All Questions)
  • Lua - serialize functions without loadstring?
lua-serialize list of languages used
Other projects in C