tlisaDibaete
→ loadBytes()Loads binary bytes.
tlisaDibaete(URL, [faGoSiame], [faGoPalelwa])Returns a Promise; use letela inside a function. External URLs are allowed without an endpoint allowlist or proxy. Browser CORS, mixed-content and credential rules still apply. JSON object keys remain unchanged. In pinned 2.3.2 the result is a Uint8Array, not an object with a bytes property.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
URL | `mokwalo | Request` |
faGoSiame (optional) | tiro | Success callback. Its return becomes the Promise value. |
faGoPalelwa (optional) | tiro | Error callback; returning recovers the Promise, throwing rejects it. |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri d = letela tlisaDibaete("data:application/octet-stream,ABC");
bopaTemana(d[0]);
}