stable (1.2) latest (tip-of-tree) v8-inspector (node) Home Domains Accessibility Animation ApplicationCache Browser CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Overlay Page Profiler Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome DevTools Protocol Viewer - latest (tip-of-tree)

IO Domain

Input/Output operations for streams produced by DevTools.

Experimental

Methods

IO.read

Read a chunk of the stream

Parameters
handle
StreamHandle Handle of the stream to read.
offset
integer Seek to the specified offset before reading (if not specificed, proceed with offset following the last read).
size
integer Maximum number of bytes to read (left upon the agent discretion if not specified).
Return object
data
string Data that were read.
eof
boolean Set if the end-of-file condition occured while reading.

IO.close

Close the stream, discard any temporary backing storage.

Parameters
handle
StreamHandle Handle of the stream to close.

Types

StreamHandle

Type: string