Interface BinaryLengthedDataStep<OUT, LOST>

a 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 BinaryLengthedDataPureStep for the pure step equivalent.

interface BinaryLengthedDataStep<OUT, LOST> {
    lost: LOST;
    forward(input): BinaryOutput<OUT>;
    backward(input): BinaryInput<LengthedArgs>;
}

Type Parameters

  • OUT = any

  • LOST = any

Hierarchy (view full)

Properties

Methods

Properties

lost: LOST

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

Methods

Generated using TypeDoc