data-serialization
Installation
SKILL.md
Data Serialization for Games
Implement efficient serialization for low-latency game networking.
Format Comparison
| Format | Size | Speed | Schema | Use Case |
|---|---|---|---|---|
| Protobuf | Small | Fast | Required | Most games |
| FlatBuffers | Small | Fastest | Required | Real-time |
| MsgPack | Small | Fast | Optional | Flexible |
| JSON | Large | Slow | None | Debug |
| Custom Binary | Smallest | Fastest | Custom | Ultra-low latency |
Protocol Buffers
syntax = "proto3";