wasm-posix-host
    Preparing search index...

    Interface VfsImageRestoreOptions

    Options for restoring a VFS image into a live filesystem.

    interface VfsImageRestoreOptions {
        maxByteLength?: number;
        maxDecompressedBytes?: number;
    }
    Index

    Properties

    maxByteLength?: number

    Permit the restored SharedArrayBuffer to grow up to this byte length, without raising the filesystem ceiling encoded in the image superblock.

    maxDecompressedBytes?: number

    Reject an image before decompression when its zstd frame bound, or its uncompressed input length, exceeds this caller-owned lifecycle limit. The limit may narrow but never raise the format-wide safety ceiling.