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
Handle of the stream to close.
IO.read #
Read a chunk of the stream
Parameters
handle
Handle of the stream to read.
offset
Optional
integer
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
Optional
integer
Maximum number of bytes to read (left upon the agent discretion if not specified).
Return object
base64Encoded
Optional
boolean
Set if the data is base64-encoded
data
string
Data that were read.
eof
boolean
Set if the end-of-file condition occurred while reading.
IO.resolveBlob #
Return UUID of Blob object specified by a remote object id.
Parameters
objectId
Object id of a Blob object wrapper.
Return object
uuid
string
UUID of the specified Blob.
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