FormatBytes(long)
Formats a number into a file size in bytes string.
Read time 1 minuteLast updated 5 days ago
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.