05nelsonm / encoding

A Kotlin Multiplatform library for configurable, streamable, efficient and extensible Encoding/Decoding with support for base16/32/64.
Apache License 2.0
33 stars 5 forks source link

Add static instances for higher level implementations #115

Closed 05nelsonm closed 1 year ago

05nelsonm commented 1 year ago

It's quite the pain having multiple unnecessary instances of Base64, or Base32. Would be beneficial if there were static instances available with the most basic/default settings.

e.g. Base64.Default.INSTANCE, Base64.UrlSafe.INSTANCE, ...