Auto compute chunk size by default
This commit is contained in:
parent
5a85dfd7a0
commit
1d29e96c1b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue