• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruDoc::saveToStream()

    (PECL haru >= 0.0.1)

    Save the document into a temporary stream

    说明

    HaruDoc::saveToStream(void): bool

    Saves the document data into a temporary stream.

    参数

    此函数没有参数。

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。

    参见

    • HaruDoc::resetStream() Rewind the temporary stream
    • HaruDoc::getStreamSize() Get the size of the temporary stream
    • HaruDoc::readFromStream() Read data from the temporary stream