CDPotion.Domain.IO (cdpotion v0.1.0)

Summary

Functions

Close the stream, discard any temporary backing storage.

Read a chunk of the stream

Return UUID of Blob object specified by a remote object id.

Functions

Close the stream, discard any temporary backing storage.

Parameters:

  • handle:StreamHandle: Handle of the stream to close.
Link to this function

read(handle, offset \\ nil, size \\ nil)

Read a chunk of the stream

Parameters:

  • handle:StreamHandle: Handle of the stream to read.
  • offset:integer: (Optional) 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.
  • size:integer: (Optional) Maximum number of bytes to read (left upon the agent discretion if not specified).
Link to this function

resolve_blob(object_id)

Return UUID of Blob object specified by a remote object id.

Parameters:

  • objectId:Runtime.RemoteObjectId: Object id of a Blob object wrapper.