Skip to content

@genetic-assembly/sdk / Function: openArchive() ​

ts
function openArchive(bytes, options?): Promise<ArchiveReader>;

Validate the format, checksum and resource paths before exposing a read-only archive.

Parameters ​

bytes ​

Uint8Array

options? ​

maxBytes? ​

number

Returns ​

Promise<ArchiveReader>

Genetic Assembly · Deterministic NSGA-II optimization