Otter SDK Reference
Version:

FormatSize(long size) Method

Returns a string with a compact approximate formatted data size in bytes, KB, MB, or GB.

Syntax

public static string FormatSize(long size)

Parameters

size
Type: long

Size in bytes.

Returns

Formatted string.