diff --git a/twnet_parser/chunk_header.py b/twnet_parser/chunk_header.py index ddc4469..95a7302 100644 --- a/twnet_parser/chunk_header.py +++ b/twnet_parser/chunk_header.py @@ -14,7 +14,7 @@ class ChunkFlags(PrettyPrint): class ChunkHeader(PrettyPrint): def __init__(self) -> None: self.flags: ChunkFlags = ChunkFlags() - self.size: Optional[int] = 0 + self.size: Optional[int] = None # TODO: should seq be a optional? # so it can be None for non vital packages # this could turn downstream users logic errors into