Search Results for

    / fm / liveswitch / HashContextBase

    Class: HashContextBase

    fm.liveswitch.HashContextBase

    A hash context.

    Hierarchy

    • HashContextBase

      ↳ HashContext

    Table of contents

    Constructors

    • constructor

    Methods

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

    Constructors

    constructor

    + new HashContextBase(type: HashType): HashContextBase

    Initializes a new instance of the [[fm.liveswitch.hashContextBase]] class.

    Parameters:

    Name Type Description
    type HashType The type.

    Returns: HashContextBase

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

    Methods

    compute

    ▸ compute(input: DataBuffer): DataBuffer

    Computes the hash.

    Parameters:

    Name Type Description
    input DataBuffer The input.

    Returns: DataBuffer

    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

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


    destroy

    ▸ destroy(): void

    Destroys this instance.

    Returns: void

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


    doCompute

    ▸ Protected AbstractdoCompute(input: DataBuffer): DataBuffer

    Computes the hash.

    Parameters:

    Name Type Description
    input DataBuffer The input.

    Returns: DataBuffer

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


    doDestroy

    ▸ Protected AbstractdoDestroy(): void

    Destroys this instance.

    Returns: void

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


    getType

    ▸ getType(): HashType

    Gets the type.

    Returns: HashType

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


    getTypeString

    ▸ getTypeString(): string

    Returns: string

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


    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

    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

    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.14.6