05nelsonm / encoding

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

Optomize `Base32` #29

Closed 05nelsonm closed 1 year ago

05nelsonm commented 2 years ago

There's a lot of logic in the base32 implementation in that when statement. This could be better broken out into separate methods which will optimize parsing.