strukt
strukt is a library for ad-hoc [de]serialization inspired by Python's struct module.
Examples
pack! ==
pack! == b"DCBA\0\0\0\0"
pack! == b"\xff\xff\x02\x00\x2a\x00\x00\x00"
strukt is a library for ad-hoc [de]serialization inspired by Python's struct module.
pack! ==
pack! == b"DCBA\0\0\0\0"
pack! == b"\xff\xff\x02\x00\x2a\x00\x00\x00"