public function read(AbstractStream $stream)
    {
        return $stream->getBuffer()->read($this->getSize(), $this->getEndian());
    }
public function read(AbstractStream $stream)
    {
        return $stream->getBuffer()->read($this->getSize(), $this->getEndian());
    }
public function read ( AbstractStream $ stream ) { return $ stream -> getBuffer ( ) -> read ( $ this -> getSize ( ) , $ this -> getEndian ( ) ) ; }
Read string from stream as it is.

@param AbstractStream $stream Stream from which read.
@return string Returned string.
Read string from stream as it is .