Skip to content

Function: pushPayloadSize() ​

ts
function pushPayloadSize(payload): number;

Defined in: pushCrypto.ts:128

How many bytes a payload seals, to keep it under PUSH_PAYLOAD_MAX_BYTES before encrypting.

Parameters ​

ParameterType
payloadIPushPayload

Returns ​

number

Released under the GNU Affero General Public License v3.0.