NDNts

    Function extract

    • Extract the encoding output of an element while writing to a parent encoder.

      Parameters

      • obj: Encodable

        Encodable element.

      • cb: (output: Uint8Array) => void

        Function to receive the encoding output of obj.

      Returns Encodable

      Wrapped Encodable object.

    MMNEPVFCICPMFPCPTTAAATR