Difference between revisions of "binser"
m (Adding keyword.) |
m (Added: Other Languages) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
'''binser - Customizable Lua Serializer''' | '''binser - Customizable Lua Serializer''' | ||
Line 33: | Line 29: | ||
</ul> | </ul> | ||
+ | {{#set:LOVE Version=Any}} | ||
+ | {{#set:Description=Customizable Lua Serializer - Great for Saving Games}} | ||
+ | {{#set:Keyword=Serializing}} | ||
[[Category:Libraries]] | [[Category:Libraries]] | ||
+ | == Other Languages == | ||
+ | {{i18n|binser}} |
Latest revision as of 15:55, 15 December 2019
binser - Customizable Lua Serializer
Save and load games or any Lua data quickly and in a very compact format.
Can Serialize:
- Tables
- Numbers
- Strings
- Booleans
- Nan
- Nil
- Nested and Cyclic tables
- Userdata (with setup)
- Functions (pure functions with no upvalues)
Example:
local binser = require "binser"
local mydata = binser.serialize(45, {4, 8, 12, 16}, "Hello, World!")
print(binser.deserialize(mydata))
-- 45 table: 0x7fa60054bdb0 Hello, World!
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info