[io.file.load.binary]

io.file.load.binary is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Loads a binary file from the server.

  • Value (binary-file), required: File path to load
  • Returns: Resolves to the loaded binary file bytes

Guide

How to use io.file.load.binary

JSON declaration

This is the complete declaration of io.file.load.binary, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "io.file.load.binary",
  "description": "Loads a binary file from the server",
  "signature": {
    "input": {
      "kind": "binary-file",
      "description": "File path to load",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "binary-file-content,binary-content,fingerprint-source",
      "description": "Resolves to the loaded binary file bytes"
    }
  }
}

← io.file.load-recursively all io.* slots io.file.mixin →