Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.util.Base64;

public class Main {
    public static byte[] base64Encode(byte[] input) {
        return Base64.encode(input, Base64.DEFAULT); // Force base64 encoding to RFC3548 standard
    }
}