Skip to content

withSecureBufferSync()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / withSecureBufferSync

withSecureBufferSync<T>(createSecret, useSecret): T

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3494

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