Interface Mechanism

A structure that specifies a particular mechanism and any parameters it requires

interface Mechanism {
    mechanism: number;
    parameter?: number | Buffer | IParams;
}

Properties

mechanism: number

The type of mechanism

parameter?: number | Buffer | IParams

The parameter if required by the mechanism