Lines Matching refs:length
130 * @param int $length Length.
134 public function read($length) argument
136 if (0 > $length) {
140 $length
144 return fread($this->getStream(), $length);
150 * @param int $length Length.
153 public function readString($length) argument
155 return $this->read($length);
181 * @param int $length Length.
184 public function readInteger($length = 1) argument
186 return (int) $this->read($length);
192 * @param int $length Length.
195 public function readFloat($length = 1) argument
197 return (float) $this->read($length);
248 * @param int $length Length.
252 public function write($string, $length) argument
254 if (0 > $length) {
258 $length
262 return fwrite($this->getStream(), $string, $length);