| Member | What it is |
| AssetCatalog.parse(bytes, { limit }) | Reads the catalog; throws when the bytes aren't a BOM with a CARHEADER. limit caps one rendition's decompressed size (256 MB). AssetCatalog.isAssetCatalog(bytes). |
| catalog.header · catalog.metadata | { coreUIVersion, storageVersion, storageTimestamp, renditionCount, mainVersion, version, uuid, associatedChecksum, schemaVersion, colorSpace, keySemantics } · { thinningArguments, deploymentPlatformVersion, deploymentPlatform, authoringTool } or null. |
| catalog.keyFormat · facets · appearances · localizations · bitmapKeys | [{ id, name, coreUIName }] · [{ name, hotSpot, attributes: [{ id, name, value }], identifier }] · [{ name, id }] · [{ name, id }] · [{ identifier, name, version, flags, values }]. |
| catalog.renditions | [{ index, keyBlock, valueBlock, offset, length, key: [{ id, name, value, text }], attributes, name, identifier, version, flags, flagNames, width, height, scale, pixelFormat, pixelFormatName, colorSpaceId, colorSpace, modified, layout, layoutName, assetType, renditionName, resources: [{ tag, name, offset, length, value }], data: { offset, length, tag }, bitmap: { flags, compression, compressionName, length, chunks: [{ offset, length, rows }] }, raw: { flags, compressed, length, offset }, color: { colorSpaceId, colorSpace, components }, sizes, link: { frame, layout, key, target }, uti, problems }]. Offsets are in the file; assetType uses assetutil's words. |
| catalog.assets · counts | The renditions grouped by name [{ name, identifier, facet, renditions }] · { assetType, layout, compression, pixelFormat }, each name → count. |
| catalog.payload(rendition) | The file it holds — { bytes, extension, kind, id, uti, compressed, error } — for PDF, SVG, JPEG, HEIF, data sets, HEVC bitmaps (a .heic) and ASTC/DXTC textures; null otherwise. |
| catalog.pixels(rendition) | { width, height, rgba }, non-premultiplied RGBA for a canvas's ImageData; a packed-image reference gives its part of the atlas. Or { error } saying why not. |
| catalog.bitmapData(rendition) | The bitmap as stored, decompressed: { bytes, bytesPerRow } or { error }. |
| catalog.findings · problems | [{ severity, title, detail, rendition }] (high, medium, info) · what couldn't be read. |
| AssetCatalog.ATTRIBUTES, LAYOUTS, COMPRESSIONS, PIXEL_FORMATS, COLOR_SPACES, IDIOMS, RESOURCE_TAGS · AssetCatalog.sniff(bytes, uti) | The tables of names · what some bytes are: { id, name, extension }. |
| BomStore.parse(bytes) | { version, blockCount, index, variablesTable, blocks: [{ id, offset, length }], freeList, variables: [{ name, block }], problems }; variable(name), block(id) (a view of its bytes), blockOffset(id), isTree(id), tree(nameOrId) → { block, version, rootBlock, blockSize, pathCount, pages, entries: [{ keyBlock, valueBlock, key, value }], problems }. BomStore.isBom(bytes). Works on installer .bom files too (their Paths, HLIndex, VIndex, Size64 trees). |
| Lzfse.decompress(bytes, { limit }) | The data; throws on damage. Lzfse.parse(bytes, { limit }) → { blocks: [{ offset, length, magic, kind, rawBytes, payloadBytes, headerLength, literals, matches }], data, consumed, problems }. Lzfse.isLzfse(bytes). |
| Lzvn.decompress(bytes, outputLength, { partial }) | A raw LZVN stream; throws on damage unless partial. Lzvn.decode(source, sourceStart, sourceEnd, output, outputStart, outputEnd, previousDistance) → { sourceOffset, outputOffset, distance, endOfStream, error }, the decoder for streams inside larger buffers. |