Skip to content

studio-delusion/packeteer

Repository files navigation

packeteer

A simple buffer description & serdes library

Installation

  1. Add packeteer to your wally.toml
[dependencies]
packeteer = "studio-delusion/packteer@latest" # Replace latest with the current version
  1. Run wally install

Alternatively, you can pull a rbxm file from Github releases.

Usage

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)

About

A simple buffer description & manipulation library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages