js-codec
make-github-pseudonymous-again opened this issue · 3 comments
make-github-pseudonymous-again commented
make-github-pseudonymous-again commented
String codecs should have two methods. Options could contain stuff like RFC, lowercase/uppercase, alphabet etc..
encode( string [, options] ) => bytesdecode( bytes [, options] ) => string
make-github-pseudonymous-again commented
There should be three base errors in @codec-bytes/error
- CodecError (inherits from ValueError)
- EncodeError (inherits from CodecError)
- DecodeError (inherits from CodecError)
- TranslateError (inherits from CodecError)
make-github-pseudonymous-again commented