ToHumanReadable Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Converts a number of bytes to a shorter, more readable string representation

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public static string ToHumanReadable(
	long bytes
)
Visual Basic
Public Shared Function ToHumanReadable ( _
	bytes As Long _
) As String
Visual C++
public:
static String^ ToHumanReadable(
	long long bytes
)

Parameters

bytes
Type: System..::..Int64

[Missing <param name="bytes"/> documentation for "M:Lidgren.Network.NetUtility.ToHumanReadable(System.Int64)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.ToHumanReadable(System.Int64)"]

See Also