Skip to content

petr-s/cstruct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CStruct

Using struct module alone in project with a lot of/complicated structures might be messy. Therefore here is the library which will make your life much easier.

class Foo(Struct):
	x = Int()
	greetings = String(5)

foo = Foo()
foo.read(file)

foo.set(42, "hello")
foo.write(file)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages