bitser
bitser copied to clipboard
Serializes and deserializes Lua values with LuaJIT
I just got that error message. It's not really clear. Perhaps it should mention that size limit? I was trying to serialize ~100 megabytes of cdata (VLAs to be more...
Hi, We've been using this library and needed to extend it to support userdata-based class. It works fine internally but it would be great it this can be upstreamed! Let...
This solves issue #27
Hi, When doing bitser.dumps for a cdata (of type vec2) with `__eq` methamethod (via metatype) which expects two vec2 to compare I get an error in https://github.com/gvx/bitser/blob/master/bitser.lua#L231 because ffi.typeof(vec2) is...
Hi, VLA cdata makes bitser to error This script runs ok but uncomenting comented lines (and comenting the two lines below) it will error ```Lua local ffi = require"ffi" local...
https://github.com/bakpakin/binser#templates
Was reading the usage file, and noticed you don't seem to support [Classic](https://github.com/rxi/classic). Could this possibly be added?
Bitser only deserializes the first instance of a class instance, because future instances access the `seen` table, which stores the value passed to the deserializer rather than the value resulting...
I am saving my game state into structure ` local saveData = { game = game:serializeTab(), view = view:serializeTab(), actors = {} } ` then actors table is filled in...
Currently, bitser implicitly expects data to be deserialized on a computer with the same endianness as the computer that data was serialized on. If that is not the case, bitser...