[io.stream.read]

io.stream.read is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Reads from an open stream.

  • Value (stream), required: Stream instance to read from
  • Returns: Resolves to the bytes read from the stream

Guide: How to use [io.stream.read]

JSON declaration

This is the complete declaration of io.stream.read, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "io.stream.read",
  "description": "Reads from an open stream",
  "signature": {
    "input": {
      "kind": "stream",
      "description": "Stream instance to read from",
      "required": true,
      "mode": "Expression"
    },
    "output": {
      "mode": "Value",
      "kind": "binary-content,fingerprint-source",
      "description": "Resolves to the bytes read from the stream"
    }
  }
}

← io.stream.open-file all io.* slots io.stream.save-file →