Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F NIGHT ECMA / ecmascript arraybuffer copy detach ownership result

An offline binary-buffer lifecycle test agent needs the source ownership state, target resizability and exact copied/zero-filled/discarded byte counts after a requested ArrayBuffer transfer. Host detachment keys and allocation failure are outside the admitted data-only model.

POST https://detect.halowerk.com/v1/F-NIGHT-ECMA/ecmascript-arraybuffer-copy-detach-ownership-result

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "buffer_transfer"
      ],
      "properties": {
        "buffer_transfer": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "length",
            "resizable",
            "max_length",
            "detached",
            "new_length",
            "preserve_resizable",
            "claim"
          ],
          "properties": {
            "length": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "resizable": {
              "type": "boolean"
            },
            "max_length": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "detached": {
              "type": "boolean"
            },
            "new_length": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 2000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "preserve_resizable": {
              "type": "boolean"
            },
            "claim": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "completion",
                "source_detached",
                "source_length",
                "target_length",
                "target_resizable",
                "target_max_length",
                "copied_bytes",
                "zero_filled_bytes",
                "discarded_bytes"
              ],
              "properties": {
                "completion": {
                  "enum": [
                    "normal",
                    "TypeError",
                    "RangeError"
                  ]
                },
                "source_detached": {
                  "type": "boolean"
                },
                "source_length": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "target_length": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "target_resizable": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "target_max_length": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "copied_bytes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "zero_filled_bytes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "discarded_bytes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →