Big Data String 2

by plexpt

Store up to 2 × 10²⁸ chars long strings during data stage and read them during control stage. prototypes => runtime

14 days ago
2.0
44

g simplfied example

17 days ago
(updated 17 days ago)

data.lua

local bigpack = require("__big-data-string2__.pack")
local any_data = {foo="bar"}
data:extend{ bigpack("my-unique-name", serpent.dump(any_data))}

control.lua

local bigunpack = require("__big-data-string2__.unpack")
local success, any_data_or_error = serpent.load(bigunpack("my-unique-name"))

New response