FormatBytes(long)
Formats a number into a file size in bytes string.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static string FormatBytes(long byteCount)
Parameters
Byte count.
Returns
Type | Description |
|---|---|
| string | Formatted string. |
Remarks
This function is used by the search asset provider to format the item description.