Immutable
constImmutable: (cid,content,instance) =>Promise<undefined|FileBuilder<unknown>>
Defined in: astrobase/src/immutable/scheme.ts:10
Handles parsing for the immutable content identifier scheme. Wraps the parse handler provided by the File module and additionally validates the hash within the content identifier.
Parameters
Section titled “Parameters”content
Section titled “content”Uint8Array<ArrayBufferLike>
instance
Section titled “instance”Required<InstanceConfig>
Returns
Section titled “Returns”Promise<undefined | FileBuilder<unknown>>