* Improvement in Base64
Added a private constructor to hide the implicit public one.
Modified the switch statement by the 'if' statement to increase readability.
Merge 'if' blocks with equal implementations.
Extracted the ternary operation nested in an independent declaration.
* Removed unnecessary method.
Bringing back the braces.
Clarifying ternary operation with parentheses.