Search Results for

    / fm / liveswitch / HashContext

    Class: HashContext

    fm.liveswitch.HashContext

    Hierarchy

    • HashContextBase

      ↳ HashContext

    Table of contents

    Constructors

    • constructor

    Methods

    • compute
    • destroy
    • doCompute
    • doDestroy
    • getType
    • getTypeString
    • compute

    Constructors

    constructor

    + new HashContext(type: HashType): HashContext

    Parameters:

    Name Type
    type HashType

    Returns: HashContext

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContext.ts:6

    Methods

    compute

    ▸ compute(input: DataBuffer): DataBuffer

    Computes the hash.

    Parameters:

    Name Type Description
    input DataBuffer The input.

    Returns: DataBuffer

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContextBase.ts:75

    ▸ compute(inputString: string): DataBuffer

    Computes the hash.

    Parameters:

    Name Type Description
    inputString string The input.

    Returns: DataBuffer

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContextBase.ts:82


    destroy

    ▸ destroy(): void

    Destroys this instance.

    Returns: void

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContextBase.ts:99


    doCompute

    ▸ doCompute(input: DataBuffer): DataBuffer

    Parameters:

    Name Type
    input DataBuffer

    Returns: DataBuffer

    Overrides: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContext.ts:10


    doDestroy

    ▸ doDestroy(): void

    Returns: void

    Overrides: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContext.ts:24


    getType

    ▸ getType(): HashType

    Gets the type.

    Returns: HashType

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContextBase.ts:124


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Overrides: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContext.ts:4


    compute

    ▸ Staticcompute(type: HashType, input: DataBuffer): DataBuffer

    Computes the hash for a given type.

    Parameters:

    Name Type Description
    type HashType The type.
    input DataBuffer The input.

    Returns: DataBuffer

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContextBase.ts:41

    ▸ Staticcompute(type: HashType, inputString: string): DataBuffer

    Computes the hash for a given type.

    Parameters:

    Name Type Description
    type HashType The type.
    inputString string The input string.

    Returns: DataBuffer

    Inherited from: HashContextBase

    Defined in: Generated/TypeScript/fm.liveswitch/HashContextBase.ts:49

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0