Use `Base.strict_decode64` instead of `Base.decode64` 

Use `Base.strict_decode64` instead of `Base.decode64` just as we do in encoding;

Also change `map` to `map!` on new array, to map inplace and reduce extra object allocation