Bytes::KILOBYTE

Same name in other branches
  1. 9 core/lib/Drupal/Component/Utility/Bytes.php \Drupal\Component\Utility\Bytes::KILOBYTE
  2. 10 core/lib/Drupal/Component/Utility/Bytes.php \Drupal\Component\Utility\Bytes::KILOBYTE
  3. 11.x core/lib/Drupal/Component/Utility/Bytes.php \Drupal\Component\Utility\Bytes::KILOBYTE

The number of bytes in a kilobyte.

See also

http://wikipedia.org/wiki/Kilobyte

File

core/lib/Drupal/Component/Utility/Bytes.php, line 15

Class

Bytes
Provides helper methods for byte conversions.

Namespace

Drupal\Component\Utility

Code

const KILOBYTE = 1024;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.