generated from mwc/lab_compression
Created a new file ascii6.py that follows similar style to ascii7.py encode(text), decode(text) register_codec and uses Bits. the docstrict also includes compression rate with is about .72 or 72%.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from custom_codecs.register import register_codec
|
||||
#from text_codecs.register import register_codec
|
||||
from easybits import Bits
|
||||
from register import register_codec
|
||||
|
||||
def encode(text):
|
||||
"""An encoder which only handles ASCII: non-ASCII characters
|
||||
|
||||
Reference in New Issue
Block a user