A simple buffer description & serdes library
- Add packeteer to your
wally.toml
[dependencies]
packeteer = "studio-delusion/packteer@latest" # Replace latest with the current version
- Run
wally install
Alternatively, you can pull a rbxm file from Github releases.
Describe your buffer
local packteer = require(?)
local person = packteer.describe({
name = packeteer.string(20),
age = packeteer.u8,
})
and serdes
local serialized = person.serialize({
name = "John Doe",
age = 21,
})
local deserialized = person.deserialize(serialized)