saxbophone / basest-python

Arbitrary base binary-to-text encoder (any base to any base), in Python.
https://pypi.org/project/basest/
Mozilla Public License 2.0
6 stars 0 forks source link

Add error-handling for invalid input sequences #25

Closed saxbophone closed 6 years ago

saxbophone commented 6 years ago

When trying to encode or decode an input sequence which has unexpected symbols (or it's the wrong length when decoding), then ValueError should be raised.