Class BinaryRecordStep<RECORD, ENTRY_ARGS, ENTRY_TYPE>

a pure binary step is a class capable of encoding and decoding binary data without the lose of invertibility information during either transformations.

  • the forward method behaves like a decoder
  • the backward method behaves like an encoder

Type Parameters

  • RECORD

    the value type of the decoded object

  • ENTRY_ARGS extends {
        [K in keyof RECORD]?: any
    } = {
        [K in keyof RECORD]?: any
    }

    the input argument interface needed for decoding in the forward method (could be empty)

  • ENTRY_TYPE extends RecordEntry_KeyStepTuple<RECORD> = RecordEntry_KeyStepTuple<RECORD>

Hierarchy (view full)

Constructors

Properties

entry_steps: ENTRY_TYPE[]
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