FMLiveSwitchHashContextBase Class Reference

A hash context. More...

Instance Methods

(FMLiveSwitchDataBuffer *) - computeWithInput:
 Computes the hash. More...
 
(FMLiveSwitchDataBuffer *) - computeWithInputString:
 Computes the hash. More...
 
(void) - destroy
 Destroys this instance. More...
 
(FMLiveSwitchDataBuffer *) - doComputeWithInput:
 Computes the hash. More...
 
(void) - doDestroy
 Destroys this instance. More...
 
(instancetype) - initWithType:
 Initializes a new instance of the FMLiveSwitchHashContextBase class. More...
 
(FMLiveSwitchHashType) - type
 Gets the type. More...
 

Class Methods

(FMLiveSwitchDataBuffer *) + computeWithType:input:
 Computes the hash for a given type. More...
 
(FMLiveSwitchDataBuffer *) + computeWithType:inputString:
 Computes the hash for a given type. More...
 
(FMLiveSwitchHashContextBase *) + hashContextBaseWithType:
 Initializes a new instance of the FMLiveSwitchHashContextBase class. More...
 

Detailed Description

A hash context.

Method Documentation

◆ computeWithInput:

- (FMLiveSwitchDataBuffer*) computeWithInput: (FMLiveSwitchDataBuffer *)  input

Computes the hash.

Parameters
inputThe input.

◆ computeWithInputString:

- (FMLiveSwitchDataBuffer*) computeWithInputString: (NSString *)  inputString

Computes the hash.

Parameters
inputStringThe input.

◆ computeWithType:input:

+ (FMLiveSwitchDataBuffer*) computeWithType: (FMLiveSwitchHashType)  type
input: (FMLiveSwitchDataBuffer *)  input 

Computes the hash for a given type.

Parameters
typeThe type.
inputThe input.

◆ computeWithType:inputString:

+ (FMLiveSwitchDataBuffer*) computeWithType: (FMLiveSwitchHashType)  type
inputString: (NSString *)  inputString 

Computes the hash for a given type.

Parameters
typeThe type.
inputStringThe input string.

◆ destroy

- (void) destroy

Destroys this instance.

◆ doComputeWithInput:

- (FMLiveSwitchDataBuffer*) doComputeWithInput: (FMLiveSwitchDataBuffer *)  input

Computes the hash.

Parameters
inputThe input.

◆ doDestroy

- (void) doDestroy

Destroys this instance.

◆ hashContextBaseWithType:

+ (FMLiveSwitchHashContextBase*) hashContextBaseWithType: (FMLiveSwitchHashType)  type

Initializes a new instance of the FMLiveSwitchHashContextBase class.

Parameters
typeThe type.

◆ initWithType:

- (instancetype) initWithType: (FMLiveSwitchHashType)  type

Initializes a new instance of the FMLiveSwitchHashContextBase class.

Parameters
typeThe type.

◆ type

- (FMLiveSwitchHashType) type

Gets the type.