chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.io / ReadRequest

ReadRequest

data class ReadRequest

Request object containing input parameters for the IODomain.read command.

Constructors

<init>

Request object containing input parameters for the IODomain.read command.

ReadRequest(handle: StreamHandle, offset: Int? = null, size: Int? = null)

Properties

handle

Handle of the stream to read.

val handle: StreamHandle

offset

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

val offset: Int?

size

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

val size: Int?