Defined in: packages/wire/src/envelope.ts:49
Controls which validated sections receive an owned byte copy.
Properties
Section titled “Properties”retainSection?
Section titled “retainSection?”
readonlyoptionalretainSection?: (tag) =>boolean
Defined in: packages/wire/src/envelope.ts:51
Retain a section when its tag is recognized by the package decoder. Defaults to every tag.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”boolean