Skip to content

withSecureBufferSync()

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / withSecureBufferSync

withSecureBufferSync<T>(createSecret, useSecret): T

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3557

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