Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SearchUtils.FormatBytes

Declaration

public static string FormatBytes(long byteCount);

Parameters

byteCount Byte count.

Returns

string Formatted string.

Description

Formats a number into a file size in bytes string.

This function is used by the search asset provider to format the item description.