IO Domain
Input/Output operations for streams produced by DevTools.
Methods
Types
Methods
IO.close #
Close the stream, discard any temporary backing storage.
Parameters
handle StreamHandle
Handle of the stream to close.
IO.read #
Read a chunk of the stream
Parameters
handle StreamHandle
Handle of the stream to read.
offsetOptional
integerSeek 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.
sizeOptional
integerMaximum number of bytes to read (left upon the agent discretion if not specified).
Return object
base64EncodedOptional
booleanSet if the data is base64-encoded
data stringData that were read.
eof booleanSet if the end-of-file condition occurred while reading.
Types
IO.StreamHandle #
This is either obtained from another method or specified as blob:<uuid> where
<uuid> is an UUID of a Blob.
Type: string