IOApi class
Input/Output operations for streams produced by DevTools.
Constructors
- IOApi(Client _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
StreamHandle handle) → Future< void> -
Close the stream, discard any temporary backing storage.
handle
Handle of the stream to close. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
StreamHandle handle, {int? offset, int? size}) → Future< ReadResult> -
Read a chunk of the stream
handle
Handle of the stream to read.offset
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
Maximum number of bytes to read (left upon the agent discretion if not specified). -
resolveBlob(
RemoteObjectId objectId) → Future< String> -
Return UUID of Blob object specified by a remote object id.
objectId
Object id of a Blob object wrapper. Returns: UUID of the specified Blob. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited