# decodeStringTable

> **decodeStringTable**<`E`>(`input`, `factories`, `expectedCount?`): `string`\[]

Defined in: [packages/wire/src/string-table.ts:81](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/wire/src/string-table.ts#L81)

Validate and decode a UTF-8 string table.

## Type Parameters

### E

`E` *extends* [`KnotkitError`](/reference/knotkit/errors/classes/knotkiterror/)

## Parameters

### input

`Uint8Array`

### factories

[`WireFailureFactories`](/reference/knotkit/wire/type-aliases/wirefailurefactories/)<`E`>

### expectedCount?

`number`

## Returns

`string`\[]

## Throws

The package-owned parse error selected by `factories` for invalid input.
