PHP - Manual: HaruDoc::readFromStream
2025-10-30
(PECL haru >= 0.0.1)
HaruDoc::readFromStream — Read data from the temporary stream
$bytes
   ) : stringRead data from the temporary stream.
bytes
       The bytes parameter specifies how many bytes 
       to read, though the stream may contain less bytes than requested. 
      
Returns data from the temporary stream.
发生错误时抛出 HaruException 异常。
 add a note
 add a note
  官方地址:https://www.php.net/manual/en/harudoc.readfromstream.php