@dxos/echo
    Preparing search index...

    Function inlineData

    • Creates an inline BlobData variant that embeds raw bytes on the ECHO object.

      Parameters

      • bytes: Uint8Array

      Returns
          | { _tag: "inline"; bytes: Uint8Array<ArrayBufferLike> }
          | { _tag: "external"; uri: string }

      • { _tag: "inline"; bytes: Uint8Array<ArrayBufferLike> }
      • { _tag: "external"; uri: string }
        • Readonly_tag: "external"
        • Readonlyuri: string

          URI locating the bytes. The scheme selects the backend at read time (e.g. ni:///sha-256;… for the edge backend — an RFC 6920 content digest, not a backend name — or wnfs://… for the plugin-wnfs extension), resolved via the scheme→backend map built from registerBlobBackend calls. Core code never parses or constructs backend-specific URIs beyond reading the scheme.

          RFC 6920 for the ni: URI format.

      O(1); wraps the bytes without copying.