Provides helper methods for byte conversions.
Hierarchy
- class \Drupal\Component\Utility\Bytes
File
- core/lib/Drupal/Component/Utility/Bytes.php, line 8
Namespace
Drupal\Component\Utility
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Bytes::KILOBYTE | constant | The number of bytes in a kilobyte. | |
Bytes::toInt | public static | function | Parses a given byte size. |
Please login to continue.