Skip to content

withSecureBufferSync()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / withSecureBufferSync

withSecureBufferSync<T>(createSecret, useSecret): T

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6508

Synchronous version of withSecureBuffer

T

() => Uint8Array

Function to create the secret buffer

(secret) => T

Function that uses the secret (sync)

T

The result of useSecret