MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FormatBytesCount

Method FormatBytesCount

Source/Editor/Utilities/Utils.cs:153–157  ·  view source on GitHub ↗

Formats the amount of bytes to get a human-readable data size in bytes with abbreviation. Eg. 32 kB [Deprecated in v1.9] The bytes. The formatted amount of bytes.

(int bytes)

Source from the content-addressed store, hash-verified

151 /// <param name="bytes">The bytes.</param>
152 /// <returns>The formatted amount of bytes.</returns>
153 [Obsolete("Use FormatBytesCount with ulong instead")]
154 public static string FormatBytesCount(int bytes)
155 {
156 return FormatBytesCount((ulong)bytes);
157 }
158
159 /// <summary>
160 /// Formats the amount of bytes to get a human-readable data size in bytes with abbreviation. Eg. 32 kB

Callers 15

OnBuildTooltipTextMethod · 0.80
RefreshMethod · 0.80
MemoryGPUMethod · 0.80
AssetsMethod · 0.80
MemoryMethod · 0.80
FormatCellBytesMethod · 0.80
FormatCellBytesMethod · 0.80
FormatSampleBytesMethod · 0.80
FormatSampleBytesRateMethod · 0.80
FormatCellBytesMethod · 0.80
UpdateWiresModelMethod · 0.80
InitializeMethod · 0.80

Calls 2

FormatMethod · 0.80
RoundTo2DecimalPlacesMethod · 0.80

Tested by

no test coverage detected