data class ReadRequest
(source)
Represents request frame that can be used with IO#read operation call.
Read a chunk of the stream
Link
IO#read method documentation.
See Also
ReadRequest(handle: StreamHandle, offset: Int? = null, size: Int? = null)
Represents request frame that can be used with IO#read operation call. |
val handle: StreamHandle
Handle of the stream to read. |
|
val offset: Int?
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 size: Int?
Maximum number of bytes to read (left upon the agent discretion if not specified). |