# DeserializeSegmentedTrieOptions

Defined in: [packages/trie/src/serialization/binary.ts:57](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/trie/src/serialization/binary.ts#L57)

Runtime inputs needed to decode a segmented trie’s generic value run.

## Type Parameters

### V

`V`

## Properties

### codec

> `readonly` **codec**: [`ElementCodec`](/reference/knotkit/wire/interfaces/elementcodec/)<`V`>

Defined in: [packages/trie/src/serialization/binary.ts:59](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/trie/src/serialization/binary.ts#L59)

Codec matching the one used to serialize stored values.

***

### isValue?

> `readonly` `optional` **isValue?**: (`value`) => `value is V`

Defined in: [packages/trie/src/serialization/binary.ts:61](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/trie/src/serialization/binary.ts#L61)

Optional validation applied to every decoded value.

#### Parameters

##### value

`unknown`

#### Returns

`value is V`

***

### create?

> `readonly` `optional` **create?**: [`SegmentedTrieFactory`](/reference/knotkit/trie/type-aliases/segmentedtriefactory/)

Defined in: [packages/trie/src/serialization/binary.ts:63](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/trie/src/serialization/binary.ts#L63)

Restore into a layout other than the artifact’s recorded kind.
