OBF Node
Preparing search index...
Utils
Variable Utils
Const
Utils
:
{
get_url
(
url
:
string
|
null
|
undefined
,
)
:
Promise
<
|
{
content_type
:
string
;
data
:
ArrayBuffer
|
Buffer
<
ArrayBufferLike
>
;
extension
:
string
;
}
|
null
,
>
;
identify_content
(
content
:
string
|
Buffer
<
ArrayBufferLike
>
|
Uint8Array
<
ArrayBufferLike
>
,
filename
:
string
,
)
:
Promise
<
string
>
;
identify_file
(
filePath
:
string
)
:
Promise
<
string
>
;
fix_color
(
str
:
string
,
type
?:
"string"
|
"hex"
)
:
string
;
load_obf_content
(
content
:
Buffer
<
ArrayBufferLike
>
|
Uint8Array
<
ArrayBufferLike
>
,
filename
:
string
,
)
:
Promise
<
OBFPage
>
;
load_obf
(
filePath
:
string
)
:
Promise
<
OBFPage
>
;
parse_obf
(
obj
:
any
,
_opts
?:
{}
)
:
OBFPage
;
}
= ...
Type Declaration
get_url
:
function
get_url
(
url
:
string
|
null
|
undefined
,
)
:
Promise
<
|
{
content_type
:
string
;
data
:
ArrayBuffer
|
Buffer
<
ArrayBufferLike
>
;
extension
:
string
;
}
|
null
,
>
Parameters
url
:
string
|
null
|
undefined
Returns
Promise
<
|
{
content_type
:
string
;
data
:
ArrayBuffer
|
Buffer
<
ArrayBufferLike
>
;
extension
:
string
;
}
|
null
,
>
identify_content
:
function
identify_content
(
content
:
string
|
Buffer
<
ArrayBufferLike
>
|
Uint8Array
<
ArrayBufferLike
>
,
filename
:
string
,
)
:
Promise
<
string
>
Parameters
content
:
string
|
Buffer
<
ArrayBufferLike
>
|
Uint8Array
<
ArrayBufferLike
>
filename
:
string
Returns
Promise
<
string
>
identify_file
:
function
identify_file
(
filePath
:
string
)
:
Promise
<
string
>
Parameters
filePath
:
string
Returns
Promise
<
string
>
fix_color
:
function
fix_color
(
str
:
string
,
type
?:
"string"
|
"hex"
)
:
string
Parameters
str
:
string
type
:
"string"
|
"hex"
= 'hex'
Returns
string
load_obf_content
:
function
load_obf_content
(
content
:
Buffer
<
ArrayBufferLike
>
|
Uint8Array
<
ArrayBufferLike
>
,
filename
:
string
,
)
:
Promise
<
OBFPage
>
Parameters
content
:
Buffer
<
ArrayBufferLike
>
|
Uint8Array
<
ArrayBufferLike
>
filename
:
string
Returns
Promise
<
OBFPage
>
load_obf
:
function
load_obf
(
filePath
:
string
)
:
Promise
<
OBFPage
>
Parameters
filePath
:
string
Returns
Promise
<
OBFPage
>
parse_obf
:
function
parse_obf
(
obj
:
any
,
_opts
?:
{}
)
:
OBFPage
Parameters
obj
:
any
_opts
:
{}
= {}
Returns
OBFPage
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
OBF Node
Loading...