Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Format the passed memory size (in bytes) as a String.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public static string ToMemorySizeString(
	long memorySize,
	bool isExact
)

Parameters

memorySize
Type: System..::..Int64
The number of bytes of memory.
isExact
Type: System..::..Boolean
true if the String representation must be exact, or false if it can be an approximation.

Return Value

A String representation of the given memory size.

Remarks

This method will possibly round the memory size for purposes of producing a more-easily read String value unless the isExact parameter is passed as true.

See Also