@custouch/jssdk
Preparing search index...
utils/format
formatBytesSize
Function formatBytesSize
formatBytesSize
(
bytes
:
number
,
decimals
?:
number
)
:
string
转换bytes为可视化的值
Parameters
bytes
:
number
比特数
Optional
decimals
:
number
= 2
精确到第几位小数
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@custouch/jssdk
Loading...
转换bytes为可视化的值