|
|
1 kuukausi sitten | |
|---|---|---|
| .. | ||
| src | 1 kuukausi sitten | |
| LICENSE | 1 kuukausi sitten | |
| README.en.md | 1 kuukausi sitten | |
| README.md | 1 kuukausi sitten | |
| package.json | 1 kuukausi sitten | |
| tsconfig.json | 1 kuukausi sitten | |
Framework-neutral OrCAD / Allegro binary inspection helpers for Flyfish File Viewer. It provides CFB/OLE2 detection, safe text sampling, hex preview, and string extraction primitives without any UI dependency.
import {
isOrcadCompoundFile,
collectOrcadStrings,
decodeOrcadSample,
} from '@file-viewer/eda-orcad'
const bytes = new Uint8Array(buffer)
const isCfb = isOrcadCompoundFile(bytes)
const strings = collectOrcadStrings([bytes])
const sample = decodeOrcadSample(bytes)
.olb, .dra, .psm, .pad, and related OrCAD / Allegro proprietary binaries for structural indexing and safe fallback preview.The public OrCAD / Allegro file format surface is limited. Keeping binary inspection and future WASM parser boundaries in a separate package lets @file-viewer/renderer-eda stay focused on presentation while the engine evolves independently.