Interface BinaryLengthedDataPureStep<OUT>

a pure binary step that has its input args extending the LengthedArgs interface. in other words: forward_input["args"] extends { length: number }.
this interface is particularly useful, as many of the binary step classes are composed of binary steps with the length argument parameter.
see BinaryLengthedDataStep for the impure step equivalent.

interface BinaryLengthedDataPureStep<OUT> {
    forward(input): BinaryOutput<OUT>;
    lost: never;
    backward(input): BinaryInput<LengthedArgs>;
}

Type Parameters

  • OUT = any

Hierarchy (view full)

Implemented by

Properties

Methods

Properties

lost: never

information lost in the forward transformation should be stored here. the lost information may be needed for the backward transformation.

Methods

Generated using TypeDoc