Package ca.phon.util

Class ByteSize

java.lang.Object
ca.phon.util.ByteSize

public class ByteSize extends Object
  • Constructor Details

    • ByteSize

      public ByteSize()
  • Method Details

    • humanReadableByteCount

      public static String humanReadableByteCount(long bytes, boolean si)
      Return a human-readable version of the given byte size
      Parameters:
      bytes -
      si - use si units?
      Returns:
      human readable byte size