Skip to content

Commit

Permalink
Add some todo notes to PrefixCodec
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jul 6, 2024
1 parent 9440609 commit e9f8726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dahuffman/huffmancodec.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ def __init__(
for (b, v) in self._table.values()
)
# TODO check if code table is actually a prefix code
# TODO check if eof is in the table
# TODO if no eof in table: automatically add entry?

def get_code_table(self) -> dict:
"""
Expand Down

0 comments on commit e9f8726

Please sign in to comment.