DUNE/Algorithms: Changed Base64 decode function for not allocate unnecessary memory.