class · Node only

# KissDecoder

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

Import:

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

## Constructor

Constructor:

```ts
new (): KissDecoder;
```

No parameters.

### Returns

`KissDecoder`

## Methods

### `push`

Signature:

```ts
push(bytes: Uint8Array): {
    command: number;
    data: Uint8Array;
}[];
```

#### Parameters

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

#### Returns

`{ command: number; data: Uint8Array; }[]`

[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/node/)

---

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