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

    Parameters

    • obj: Encodable

      Encodable element.

    • cb: (output: Uint8Array<ArrayBufferLike>) => void

      Function to receive the encoding output of obj.

    Returns Encodable

    Wrapped Encodable object.