Ejemplo n.º 1
0
 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();
     }
 }
Ejemplo n.º 2
0
 public static function readIntEndian(InputStream $stream)
 {
     return $stream->readIntEndian();
 }