# WireEnvelopeDecodeOptions

Defined in: [packages/wire/src/envelope.ts:49](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/wire/src/envelope.ts#L49)

Controls which validated sections receive an owned byte copy.

## Properties

### retainSection?

> `readonly` `optional` **retainSection?**: (`tag`) => `boolean`

Defined in: [packages/wire/src/envelope.ts:51](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/wire/src/envelope.ts#L51)

Retain a section when its tag is recognized by the package decoder. Defaults to every tag.

#### Parameters

##### tag

`number`

#### Returns

`boolean`
