NewAlgorithmOption
Wraps the Algorithm into an AlgorithmOption to pass to the encoding functions.
def NewAlgorithmOption(
algo: Algorithm
) - > AlgorithmOption
Wraps the provided Algorithm into an AlgorithmOption, which is used to pass algorithm configurations to encoding functions.
Parameters
| Name | Type | Description |
|---|---|---|
| algo | Algorithm | The Algorithm to be wrapped into an AlgorithmOption. This defines the specific algorithm to be used in encoding operations. |
Returns
| Type | Description |
|---|---|
AlgorithmOption | An AlgorithmOption containing the specified algorithm. |