Skip to content

A code generator for serializing & deserializing binary data in Go

License

Notifications You must be signed in to change notification settings

iamd3vil/binserde

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binserde

A code generator for serializing & deserializing binary data in Go.

Motivation

Currently for serializing & deserializing binary data in Go, there is encoding/binary, but you either have to manually write code for structs without fixed size or use binary.Write() / binary.Read() for structs with fixed size.

So binserde generates efficient code for serializing & deserializing data for structs. The goal is that this should be as fast as handwritten code.

TODO

  • Marshal, unmarshal code.
    • Basic Types(int, float, string, []byte).
    • Embedded structs.
    • Custom types.

About

A code generator for serializing & deserializing binary data in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published