decode Base64 string via android.util.Base64 - Android android.util

Android examples for android.util:Base64

Description

decode Base64 string via android.util.Base64

Demo Code

import android.util.Base64;

public class Main {

  public static byte[] decode(final byte[] bytes) {
    return Base64.decode(bytes, 2);
  }/*w  ww  . j a  v  a 2s  . c  o  m*/

}

Related Tutorials