« Previous | Next » 

Revision b7d329c5

IDb7d329c59812f53a4f4a7641a6afaffc46a4d01d
Parent 3959bd10
Child 6cdc370d

Added by Bastian Waidelich almost 7 years ago

[FEATURE] Filesize utility functions

This adds two new convenient functions to ``Utility\Files`` that allow
for converting a number of bytes to a human-readable representation vice
versa.

Usage::

\TYPO3\Flow\Utility\Files::bytesToSizeString(1073741823);
\TYPO3\Flow\Utility\Files::sizeStringToBytes('1024M');

Change-Id: I9b35d1b08c7cb1f41330d88f62fc1092e90880c6
Releases: master, 2.3
Related: NEOS-842

  • added
  • modified
  • copied
  • renamed
  • deleted