Skip to content

pargec generates C binary protocol parsers

License

Notifications You must be signed in to change notification settings

spiccinini/pargec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pargec generates C binary/protocol parsers

pargec generates C code for parsing binary structures (eg: protocol headers) from a Structure declaration like the following:

foo = Structure("foo_prot", [
    Field("field1", uint8, 6, FMT_BE_MSB),
    Field("field2", uint8, 4, FMT_BE_MSB),
    Field("field3", uint8, 6, FMT_BE_MSB),
])

Also pargec generates a python wrapper of the C code.

About

pargec generates C binary protocol parsers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published