public static String encodeBytes(byte[] source) {
      return encodeBytes(source, 0, source.length);
    }
Encodes a byte array into Base64 notation.

@param source
         The data to convert
@return The Base64-encoded data as a String
@throws NullPointerException
          if source array is null
@throws IllegalArgumentException
          if source array, offset, or length are invalid
@since 2.0
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java