API
Class

Base64 ($UI/system/lib/base/base64)

使用范围:UI2

Contents

class Base64 ($UI/system/lib/base/base64)

Base64工具类

Constructor Top

  Base64 ()

Static Methods Top

String decode (String input)
String decodeURIComponent (String str)
String encode (String input)
String encodeURIComponent (String str)

Constructor details Top

public Base64 ()

Base64工具类

Static Methods Detail Top

static public String decode (String input)

Base64解码

Parameters

String input

字符串

Return Value

String

Base64解码后的值

static public String decodeURIComponent (String str)

可对encodeURIComponent函数编码的URL进行解码

Parameters

String str

字符串

Return Value

String

static public String encode (String input)

Base64编码

Parameters

String input

字符串

Return Value

String

Base64编码后的值

static public String encodeURIComponent (String str)

可把字符串作为URL 组件进行编码

Parameters

String str

字符串

Return Value

String