Java encode()

Encode an array of bytes using Base64.

Function

public static java.lang.String encode(byte[] data)

Parameters

data - The bytes to be encoded

Return value

A valid Base64 representation of the input

See also: