packRsc() function
Pack entries into an RSC file
Signature:
export declare function packRsc(entries: MaybeEmptyRscEntry[]): ArrayBuffer;
Parameters
Parameter | Type | Description |
---|---|---|
entries | MaybeEmptyRscEntry[] | Entries to compose |
Returns:
ArrayBuffer
The RSC file
Remarks
Unlike unpackRsc(), the resulting buffer is not a view. It may be safely modified.