#GitHub - Be1zebub/BinS: BINary Serializa...
1 messages · Page 1 of 1 (latest)
what happened to the good old days of one file dependencies 😦
good stuff, but everything other than the lua/bins/deps/bitbuffer.lua is just fluff imo
its struct that i use in my all projects
yep, its just a small wrapper over niknaks buffer
initially I wanted to adapt dkjson/bson for gmod, but after I tried and realized that their codebase is bad
i was remembered about the nicknaks - which can be very easily turned into a serializer
@oblique ferry is this used for lowering network message lengths?
I haven't used it this way, but it would work
local tbl = {...}
local data = util.Compress(bins.encode(tbl))
net.Start("test")
net.WriteUInt(#data, 16)
net.WriteData(data)
net.SendToServer()
ofc