Lines Matching defs:bytes
146 * @param int $length maximum number of bytes to read
341 // pad the reminder to 512 bytes
398 * consists of two 512 blocks of zero bytes"
480 * @param int $length bytes to read
501 * @return int number of bytes written
526 * @param int $bytes seek to this position
528 protected function skipbytes($bytes)
531 @gzseek($this->fh, $bytes, SEEK_CUR);
535 while($bytes) {
536 $toread = min(8192, $bytes);
538 $bytes -= $toread;
541 @fseek($this->fh, $bytes, SEEK_CUR);
543 $this->position += $bytes;
732 * Uses magic bytes for existing files, the file extension otherwise
741 // for existing files, try to read the magic bytes