Bytes::KILOBYTE

Same name in other branches
  1. 9 core/lib/Drupal/Component/Utility/Bytes.php \Drupal\Component\Utility\Bytes::KILOBYTE
  2. 8.9.x core/lib/Drupal/Component/Utility/Bytes.php \Drupal\Component\Utility\Bytes::KILOBYTE
  3. 10 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 17

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.