• 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.

        • (output): void
        • Parameters

          • output: Uint8Array

          Returns void

    Returns Encodable

    Wrapped Encodable object.