C# Class Platform.FormatEvil

Show file Open project: Lokad/lokad-data-platform

Public Methods

Method Description
SizeInBytes ( long sizeInBytes ) : string

Formats the size in bytes to a pretty string.

SpeedInBytes ( double bytesPerSecond ) : string
ToHumanReadable ( double value ) : string

Private Methods

Method Description
FormatEvil ( ) : System

Method Details

SizeInBytes() public static method

Formats the size in bytes to a pretty string.
public static SizeInBytes ( long sizeInBytes ) : string
sizeInBytes long The size in bytes.
return string

SpeedInBytes() public static method

public static SpeedInBytes ( double bytesPerSecond ) : string
bytesPerSecond double
return string

ToHumanReadable() public static method

public static ToHumanReadable ( double value ) : string
value double
return string