Function: deserialize()
ts
function deserialize<T>(data: Uint8Array): T;Deserializes the given Uint8Array into the original data type.
Type Parameters
| Type Parameter | Description |
|---|---|
T | The type of the data which will be returned |
Parameters
| Parameter | Type | Description |
|---|---|---|
data | Uint8Array | Uint8Array to be deserialized |
Returns
T
The original data type