Home Reference Source
public class | source

Argon2BrowserWebAssemblyCalc

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private
private

Method Summary

Public Methods
public

allocateArray(strOrArr: *): *

public

calc(fn: *, arg: *): *

public

calcAsmJs(arg: *): *

public

calcBinaryen(arg: *, method: *): *

public

calcBinaryenBin(arg: *): *

public

calcBinaryenSexpr(arg: *): *

public

calcHash(arg: *): *

public

calcWasm(arg: *): *

public
public

loadScript(src: *, onload: *, onerror: *): *

public

log(msg: *)

public

now(): *

public

sleep(ms: *): *

Public Constructors

public constructor() source

Private Members

private _libraryLoadPromise: * source

private _librayLoaded: boolean source

Public Methods

public allocateArray(strOrArr: *): * source

Params:

NameTypeAttributeDescription
strOrArr *

Return:

*

public calc(fn: *, arg: *): * source

Params:

NameTypeAttributeDescription
fn *
arg *

Return:

*

public calcAsmJs(arg: *): * source

Params:

NameTypeAttributeDescription
arg *

Return:

*

public calcBinaryen(arg: *, method: *): * source

Params:

NameTypeAttributeDescription
arg *
method *

Return:

*

public calcBinaryenBin(arg: *): * source

Params:

NameTypeAttributeDescription
arg *

Return:

*

public calcBinaryenSexpr(arg: *): * source

Params:

NameTypeAttributeDescription
arg *

Return:

*

public calcHash(arg: *): * source

Params:

NameTypeAttributeDescription
arg *

Return:

*

public calcWasm(arg: *): * source

Params:

NameTypeAttributeDescription
arg *

Return:

*

public clearLog() source

public loadScript(src: *, onload: *, onerror: *): * source

Params:

NameTypeAttributeDescription
src *
onload *
onerror *

Return:

*

public log(msg: *) source

Params:

NameTypeAttributeDescription
msg *

public now(): * source

Return:

*

public sleep(ms: *): * source

Params:

NameTypeAttributeDescription
ms *

Return:

*