Bulk Data Client
    Preparing search index...

    Function humanFileSize

    • Returns the byte size with units

      Parameters

      • fileSizeInBytes: number = 0

        The size to format

      • useBits: boolean = false

        If true, will divide by 1000 instead of 1024

      Returns string