Frida Docs Unified
    Preparing search index...

    Class UnixOutputStream

    Output stream backed by a file descriptor.

    Only available on UNIX-like OSes.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Closes the stream, releasing resources related to it. Once the stream is closed, all other operations will fail. Closing a stream multiple times is allowed and will not result in an error.

      Returns Promise<void>

    • Tries to write data to the stream. Returns how many bytes of data were written to the stream.

      Parameters

      Returns Promise<number>

    • Keeps writing to the stream until all of data has been written. Premature error or end of stream results in an Error object with a partialSize property specifying how many bytes of data were written to the stream before the error occurred.

      Parameters

      Returns Promise<void>

    • Tries to write size bytes to the stream, reading them from address. Returns how many bytes were written to the stream. Premature error or end of stream results in an Error object with a partialSize property specifying how many bytes of data were written to the stream before the error occurred.

      Parameters

      Returns Promise<number>