Class Index | File Index

Classes


Built-In Namespace _global_

Method Summary
Method Attributes Method Name and Description
 
newLocalId returns a string that is unique in this session.
 
newRandomId returns a random string of 32 hex digits (16 bytes).
 
 
toHex(array)
toHex formats an array as a hexadecimal string.
Method Detail
{string} newLocalId()
newLocalId returns a string that is unique in this session.
Defined in: protocol.js.
Returns:
{string}

{string} newRandomId()
newRandomId returns a random string of 32 hex digits (16 bytes).
Defined in: protocol.js.
Returns:
{string}

{boolean} recomputeUserStreams(sc, id, c)

Defined in: protocol.js.
Parameters:
{ServerConnection} sc
{string} id
{Stream} c Optional
Returns:
{boolean}

{string} toHex(array)
toHex formats an array as a hexadecimal string.
Defined in: protocol.js.
Parameters:
{number[]|Uint8Array} array
- the array to format
Returns:
{string} - the hexadecimal representation of array

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Dec 02 2021 00:12:47 GMT+0100 (CET)