AndrewSpittlemeister / bytechomp

A pure python declarative custom binary protocol parser & generator using dataclasses and type hinting. Like Pydantic for binary protocols.
MIT License
38 stars 7 forks source link

Strings don't work? #6

Open camprevail opened 2 months ago

camprevail commented 2 months ago

According to the readme here, strings are supported, but when I try to use music_title: str = None in my dataclass, I get an exception when trying to initialize the reader. Am I just doing this wrong or is this unexpected behavior? Exception: unsupported data type (<class 'str'>) on field music_title