code: public static String encode(byte[] data) {
  	StringBuilder builder = new StringBuilder();
  	for (int position = 0; position < data.length; position += 3) {
  	    builder.append(encodeGroup(data, position));
  	}
  	return builder.toString();
      }
docs: Translates the specified byte array into Base64 string.
  
  @param data the byte array (not null)
  @return the translated Base64 string (not null)