Frida Docs Unified
    Preparing search index...

    Class Win32InputStream

    Input stream backed by a Windows file handle.

    Only available on Windows.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    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>

    • Reads up to size bytes from the stream. The resulting buffer is up to size bytes long. End of stream is signalled through an empty buffer.

      Parameters

      • size: number

      Returns Promise<ArrayBuffer>

    • Keeps reading from the stream until exactly size bytes have been consumed. The resulting buffer is exactly size bytes long. Premature error or end of stream results in an Error object with a partialData property containing the incomplete data.

      Parameters

      • size: number

      Returns Promise<ArrayBuffer>