Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add encoding-core module #36

Closed
05nelsonm opened this issue Jan 18, 2023 · 0 comments · Fixed by #80
Closed

Add encoding-core module #36

05nelsonm opened this issue Jan 18, 2023 · 0 comments · Fixed by #80
Labels
enhancement New feature or request

Comments

@05nelsonm
Copy link
Owner

05nelsonm commented Jan 18, 2023

Add a base module (i.e. encoding-core) to:

  • Move all common code to it
  • Have common extension functions that utilize the Encoder/Decoder abstraction
    • So a new encoder (not implemented by this library) can be utilized if library consumer creates it.
    • Optimization, because right now there is a lot of unnecessary array creation. Would be great if the
      extension functions for the type (String, CharArray, ByteArray) were able to instantiate those types
      off the bat and then input things as decoding/encoding occurs by converting the returned Byte.
  • Enable ability to have Encoder and Decoder classes which can be passed around
  • Enable ability to stream bytes/chars in or out, and receive encoded/decoded bytes on the other end
  • Encoder/Decoder configurations
  • Give people the ability to easily create their own Encoder/Decoders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant