IFClite TypeScript API
    Preparing search index...

    Type Alias BlobHash

    BlobHash: string

    Content-addressed blob store (spec §11.1).

    Mesh / opaque blobs live OUTSIDE the Y.Doc — the Y.Doc only carries blobHash references (see doc/geometry.ts). The blob store is pluggable so apps can mix:

    • MemoryBlobStore — tests, ephemeral rooms
    • IndexedDbBlobStore — browsers, local-first
    • HttpBlobStore — @ifc-lite/collab-server blob route
    • composition: LayeredBlobStore(local, remote)

    Hashing is FNV-1a × 4 rounds → 32 hex chars. Cheap, dependency-free, collision properties good enough to identify ~10^9 blobs without coincidence in practice. For high-assurance deployments, swap to SHA-256 by registering a different BlobHasher.