Function extract

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

    Parameters

    • obj: Encodable | readonly Encodable[]
    • cb: ((output) => void)
        • (output): void
        • Parameters

          • output: Uint8Array

          Returns void

    Returns Encodable

Generated using TypeDoc