Commit Graph

17 Commits

Author SHA1 Message Date
Robin Wellner
e817e4de28
Close #12 (serialization bug for string "len")
Thanks to nikki93 for spotting the issue and suggesting this solution.
2018-11-04 13:07:19 +00:00
Robert Machmer
4f2680317c Add assertions for dumpLoveFile and loadLoveFile (#11)
This will print useful error messages instead of just failing silently.

E.g.:
`lib/Bitser.lua:370: Could not open file prabs/test.lua. Does not exist.`
2018-02-20 18:38:47 +01:00
buckle2000
3571bdb928 Adds support for Moonscript classes (#6)
Many thanks to @buckle2000
2017-01-08 02:18:11 +01:00
Kyle McLamb
4fe34942c0 Fix reference serialization inside classes 2016-05-11 00:57:41 -04:00
Robin Wellner
60006de9f0 Oops 2016-02-23 13:15:53 +01:00
Robin Wellner
63a512707c Fixes that I forgot to add 2016-02-23 13:00:41 +01:00
Robin Wellner
06d5b69b61 Actually, going ahead and replacing the implementation
Thanks to git I can always roll back if this was a bad idea
2016-02-23 12:44:46 +01:00
Robin Wellner
40f5cab917 Actually pass size along 2016-02-16 02:48:39 +01:00
Robin Wellner
6b8208a991 Prevent reading past the end of the buffer 2016-02-16 02:45:24 +01:00
Robin Wellner
f82fda79fc Release under ISC license 2016-02-16 02:35:43 +01:00
Robin Wellner
c624623efe add ability to load from raw data
see https://love2d.org/wiki/Data:getPointer
2016-02-16 02:08:07 +01:00
Robin Wellner
0d0bb54405 Fix sloppy errors (forgot to pass an argument, haserror -> has_error) 2016-02-15 15:24:07 +01:00
Robin Wellner
90acb62c42 Actually pass the buffer to write_string for class names 2016-02-15 14:44:18 +01:00
Robin Wellner
80c130ea8d forgot to actually register the class i was testing 2016-02-15 14:39:41 +01:00
Robin Wellner
5d27470cce more testing and lint stuff 2016-02-15 14:34:52 +01:00
Robin Wellner
3c51639de7 travis-based fixes 2016-02-15 14:12:51 +01:00
Robin Wellner
481c3edc53 add first version, including benchmarks
(put binser, Ser, Smallfolk or Serpent here to compare bitser to them)
2016-02-14 03:52:58 +01:00