• Decompiles a script buffer into an array of chunks.

    Parameters

    • buffer: Uint8Array | (number | Uint8Array)[]

      The script buffer to decompile.

    Returns (number | Uint8Array)[] | null

    The decompiled chunks or null if decompilation fails.