public function _readInt($length) { if ($length < 0 || $length > 4) { throw new IllegalArgumentException(); } if ($this->m_bigEndian) { return $this->m_stream->readIntEndian(); } else { return $this->m_stream->readInt(); } }
public static function readIntEndian(InputStream $stream) { return $stream->readIntEndian(); }