Documentation / @sw-file-lib/core / ParsedComponentModAsset
Interface: ParsedComponentModAsset
ts
interface ParsedComponentModAsset {
name: string;
data: Uint8Array;
dataSize: number;
}Defined in: componentMod/index.ts:43
Parsed asset entry from a component mod binary.
Unlike ComponentModAsset, this preserves the original serialized byte length of the asset.
Properties
| Property | Type | Description |
|---|---|---|
| Asset file name. | |
| Raw asset data. | |
| Byte length declared in the file for data. |