Package ca.phon.util
Class ByteSize
java.lang.Object
ca.phon.util.ByteSize
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
humanReadableByteCount
(long bytes, boolean si) Return a human-readable version of the given byte size
-
Constructor Details
-
ByteSize
public ByteSize()
-
-
Method Details
-
humanReadableByteCount
Return a human-readable version of the given byte size- Parameters:
bytes
-si
- use si units?- Returns:
- human readable byte size
-