Base64

Class of android.util · Base64.java · Android's reference

public class Base64

Base64 with Android's flags, on java.util.Base64.

Fields

public static final int DEFAULT = 0 source
public static final int NO_PADDING = 1 source
public static final int NO_WRAP = 2 source
public static final int CRLF = 4 source
public static final int URL_SAFE = 8 source
public static final int NO_CLOSE = 16 source

Methods

public static byte[] decode(String str, int flags) source
public static byte[] decode(byte[] input, int flags) source
public static byte[] decode(byte[] input, int offset, int len, int flags) source
public static String encodeToString(byte[] input, int flags) source
public static String encodeToString(byte[] input, int offset, int len, int flags) source
public static byte[] encode(byte[] input, int flags) source
public static byte[] encode(byte[] input, int offset, int len, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.