Android Base64 Byte Array Encode base64(byte[] target)

Here you can find the source of base64(byte[] target)

Description

base

Declaration

public static String base64(byte[] target) 

Method Source Code

//package com.java2s;

public class Main {
    public static String base64(byte[] target) {
        String temp = android.util.Base64.encodeToString(target, 0);
        return temp.replace('+', '-').replace('/', '_');
    }//w  ww  .ja v a 2  s.  c o m
}

Related

  1. encode(byte[] data)
  2. encode(byte[] data)
  3. encode(byte[] data)
  4. encode(byte[] data, int off, int len, Writer writer)
  5. encode(byte[] data)
  6. toBase64(byte[] data)
  7. encodeBlock(byte raw[], int offset)