Lines Matching refs:length
131 * @param int $length Length.
135 public function read($length) argument
137 if (0 > $length) {
141 $length
145 return fread($this->getStream(), $length);
151 * @param int $length Length.
154 public function readString($length) argument
156 return $this->read($length);
182 * @param int $length Length.
185 public function readInteger($length = 1) argument
187 return (int) $this->read($length);
193 * @param int $length Length.
196 public function readFloat($length = 1) argument
198 return (float) $this->read($length);
249 * @param int $length Length.
253 public function write($string, $length) argument
255 if (0 > $length) {
259 $length
263 return fwrite($this->getStream(), $string, $length);