You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
Would be useful for deterministic or multibase-adjacent usage where there is clear separation between base64 (which omits padding) and base64pad (which does include padding).
Right now the only way to mitigate this is to manually check if there's a padding and throw if that's the case, but I wonder if this is better handled as an option in lastChunkHandling instead?
Would be useful for deterministic or multibase-adjacent usage where there is clear separation between
base64(which omits padding) andbase64pad(which does include padding).Right now the only way to mitigate this is to manually check if there's a padding and throw if that's the case, but I wonder if this is better handled as an option in
lastChunkHandlinginstead?https://github.com/mary-ext/atcute/blob/bde458b1ad33b9d0ede8975383301b7faa4194cd/packages/utilities/multibase/lib/bases/base64.ts#L15-L21
It seems weird to me that
omitPaddingwas added in the encode side yet no equivalent option in the decode side.