Auto compute chunk size by default

This commit is contained in:
ChillerDragon 2023-05-07 14:07:13 +02:00
parent 5a85dfd7a0
commit 1d29e96c1b

View file

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