Kraken\Stream\StreamReaderInterface::read PHP Method

read() public method

Read the contents of the string. $length specifies maximum number of bytes read. If it is not set whole contents will be read.
public read ( integer | null $length = null ) : string
$length integer | null
return string
    public function read($length = null);