assertWelcomeSealedPlaintextSize
assertWelcomeSealedPlaintextSize(
byteLength,label):void
Defined in: packages/core/src/welcome-sealed-payload.ts:32
Throw before sealing when a Welcome plaintext cannot fit in a frame.
Parameters
Section titled “Parameters”byteLength
Section titled “byteLength”number
string
Returns
Section titled “Returns”void