deserializeEnvelope<
E>(bytes,magic,factories,options?):WireEnvelope
Defined in: packages/wire/src/envelope.ts:142
Validate and decode an envelope before a structure allocates mutable state. Unknown section tags are validated but need not be copied into the result.
Type Parameters
Section titled “Type Parameters”E extends KnotkitError
Parameters
Section titled “Parameters”Uint8Array
Uint8Array
factories
Section titled “factories”options?
Section titled “options?”Returns
Section titled “Returns”Throws
Section titled “Throws”The package-owned parse error selected by factories for invalid input.