serializeEnvelope(
input):Uint8Array
Defined in: packages/wire/src/envelope.ts:59
Serialize package bytes into a little-endian, aligned, sectioned envelope.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Uint8Array
Throws
Section titled “Throws”With INVALID_ARGUMENT when header values, section tags, or artifact size are invalid.