NIO
Bun

namespace

inspector.IO

namespace IO

  • interface CloseParameterType

    • handle: string

      Handle of the stream to close.

  • interface ReadParameterType

    • handle: string

      Handle of the stream to read.

    • offset?: number

      Seek to the specified offset before reading (if not specified, proceed with offset following the last read). Some types of streams may only support sequential reads.

    • size?: number

      Maximum number of bytes to read (left upon the agent discretion if not specified).

  • interface ReadReturnType

    • data: string

      Data that were read.

    • eof: boolean

      Set if the end-of-file condition occurred while reading.

  • type StreamHandle = string