Base 64 Encoder Transforms the input from little to big endian. This way its possible to always use the same mask together with more bit-shifting.