Search
Preparing search index...
The search index is not available
@esengine/egret-framework
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Utils/Base64Utils"
es
Base64Utils
Class Base64Utils
Hierarchy
Base64Utils
Index
Properties
_key
Str
Accessors
native
Base64
Methods
decode
decode
Base64
AsArray
decodeCSV
decompress
encode
Properties
Static
Private
_key
Str
_key
Str
:
string
= "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
Accessors
Static
native
Base64
get
nativeBase64
(
)
:
boolean
判断是否原生支持Base64位解析
Returns
boolean
Methods
Static
decode
decode
(
input
:
string
)
:
string
解码
Parameters
input:
string
Returns
string
Static
decode
Base64
AsArray
decode
Base64
AsArray
(
input
:
string
, bytes
:
number
)
:
Uint32Array
解析Base64格式数据
Parameters
input:
string
bytes:
number
Returns
Uint32Array
Static
decodeCSV
decodeCSV
(
input
:
string
)
:
Array
<
number
>
解析csv数据
Parameters
input:
string
Returns
Array
<
number
>
Static
Private
decompress
decompress
(
data
:
string
, decoded
:
any
, compression
:
string
)
:
any
暂时不支持
Parameters
data:
string
decoded:
any
compression:
string
Returns
any
Static
encode
encode
(
input
:
string
)
:
string
编码
Parameters
input:
string
Returns
string
Globals
"
Utils/
Base64
Utils"
es
Base64
Utils
_key
Str
native
Base64
decode
decode
Base64
AsArray
decodeCSV
decompress
encode
Generated using
TypeDoc
判断是否原生支持Base64位解析