MODE-2287: Replace BASE64 decoder

Simple PR wich replace Base64 decoder class