function · Browser and Node

# decodeFrame

`@toip-tools/mesh-transport` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mesh-transport/src/frame.ts#L45)

Import:

```ts
import { decodeFrame } from "@toip-tools/mesh-transport";
```

## Declaration

Signature:

```ts
decodeFrame(b: Uint8Array): Frame | null;
```

### Parameters

- **`b` (required)**: `Uint8Array<ArrayBufferLike>`

### Returns

`Frame | null`

[Usage guide](https://toip.tools/toolkit/mesh-transport/#usage) · [Error handling](https://toip.tools/toolkit/mesh-transport/#errors) · [All exports](https://toip.tools/toolkit/mesh-transport/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mesh-transport/api/decodeFrame/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
