# UnmarshalEvent

[**@openpolyfill/firefox-rdp**](/docs/api/reference)

***

[@openpolyfill/firefox-rdp](/docs/api/reference/globals) / unmarshalEvent

# Function: unmarshalEvent()

> **unmarshalEvent**(`packet`, `eventArgs?`, `convert?`): `unknown`[]

Defined in: [src/specs.ts:67](https://github.com/OpenPolyfill/FirefoxRDP/blob/50728dfa35fc2a06b6d8a70fbaf9c0ef0a5bd3a4/src/specs.ts#L67)

Decode a Firefox actor event into the positional arguments passed to native Front listeners.

## Parameters

### packet

`Record`\<`string`, `unknown`\>

### eventArgs?

`Record`\<`string`, [`ArgumentSpec`](/docs/api/reference/interfaces/ArgumentSpec)\> = `{String.fromCharCode(123)}{String.fromCharCode(125)}`

### convert?

(`v`, `type`) => `unknown`

## Returns

`unknown`[]
