unpackRsc() function
Unpack an RSC file into the entries that compose it
Signature:
export declare function unpackRsc(arrayBuffer: ArrayBufferLike, options?: UnpackOptions): RscEntry[] | MaybeEmptyRscEntry[];
Parameters
Parameter | Type | Description |
---|---|---|
arrayBuffer | ArrayBufferLike | Buffer containing an RSC file |
options | UnpackOptions | (Optional) Options for unpacking |
Returns:
RscEntry[] | MaybeEmptyRscEntry[]
The entries contained within the arrayBuffer parameter
Remarks
This function creates views over the buffer passed as argument. Modifying the content of an entry will modify the buffer passed in this function and vice versa.