EditorUtility.FormatBytes
static function FormatBytes(bytes: int): string;
static string FormatBytes(int bytes);
static def FormatBytes(bytes as int) as string
Description

Returns a text for a number of bytes.

	// prints "100 bytes"
	print (EditorUtility.FormatBytes(100));

// prints "2.0 KB" print (EditorUtility.FormatBytes(2048));