Convert a file size provided, such as “2M”, to bytes.
Parameters
$bytesbooloptional- Whether to convert Bytes to a readable format.
Default:
false
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |
Convert a file size provided, such as “2M”, to bytes.
$bytesbooloptionalDefault:false
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |