Main decode method takes String as parameter, this is the most used case and its faster.