Skip to content

Instantly share code, notes, and snippets.

@felixprojekt
Last active June 21, 2021 13:35
Show Gist options
  • Save felixprojekt/bb1b369f29ddac9d64b771b5253f2b0e to your computer and use it in GitHub Desktop.
Save felixprojekt/bb1b369f29ddac9d64b771b5253f2b0e to your computer and use it in GitHub Desktop.
flatc-cheatsheet
// Generate C# classes from schemas
flatc -n *.fbs
// JSON to binary
flatc --binary schema.fbs source.json
// binary to JSON
flatc --raw-binary -t schema.fbs -- source.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment