[io.file.save.binary]

io.file.save.binary is a slot in the io namespace, in Hyperlambda, the language of Magic Cloud. Saves a binary file to the server.

  • Value (binary-file), required: File path to save

Arguments

Required arguments come first, then the optional ones in the order they are declared.

Argument Type Required Description
any node name byte[] yes Child node yielding the binary content to save.

JSON declaration

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

JSON declaration
{
  "name": "io.file.save.binary",
  "description": "Saves a binary file to the server",
  "signature": {
    "input": {
      "kind": "binary-file",
      "description": "File path to save",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "children": {
      "*": {
        "type": "byte[]",
        "kind": "binary-file-content",
        "description": "Child node yielding the binary content to save",
        "required": true,
        "mode": "ExecutableLambda",
        "cardinality": "ExactlyOne"
      }
    }
  }
}

← io.file.save all io.* slots io.file.search →