InputStreamFileWriterInterface::DEFAULT_BYTES_TO_READ

Same name in other branches
  1. 10 core/modules/file/src/Upload/InputStreamFileWriterInterface.php \Drupal\file\Upload\InputStreamFileWriterInterface::DEFAULT_BYTES_TO_READ

The length of bytes to read in each iteration when streaming file data.

File

core/modules/file/src/Upload/InputStreamFileWriterInterface.php, line 14

Class

InputStreamFileWriterInterface
Uploads files from a stream.

Namespace

Drupal\file\Upload

Code

const DEFAULT_BYTES_TO_READ = 8192;

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