Function txToStream

  • Pipe encoded packets to output stream.

    Parameters

    • conn: WritableStream

      output stream, such as a socket.

    Returns Tx

    a function that accepts AsyncIterable of Uint8Array containing encoded packets.

Generated using TypeDoc