The Candid Startup
    Preparing search index...

    Reference implementation of BlobDir

    Intended for use as a mock, to compare with an optimized implementation when testing and for simple sample apps. Simplest possible implementation, no attempt at optimization.

    Implements

    Index

    Constructors

    Methods

    • Write the specified content to a blob with the specified name.

      Any existing blob with that name is overwritten, otherwise a new blob is created. The content array is treated as read only and must be immutable until the operation completes.

      Parameters

      • name: string
      • content: Uint8Array

      Returns ResultAsync<void, WriteBlobError>