« Previous | Next » 

Revision db800d7c

IDdb800d7c837e9d901922a8ddd8bd0c0d2ce3551f
Parent fe450cff
Child db009a76

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