ReadParameter

@Serializable
data class ReadParameter(val handle: String, val offset: Int? = null, val size: Int? = null)

Constructors

Link copied to clipboard
constructor(handle: String, offset: Int? = null, size: Int? = null)

Properties

Link copied to clipboard

Handle of the stream to read.

Link copied to clipboard
val offset: Int? = null

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.

Link copied to clipboard
val size: Int? = null

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