multiplex

package
v1.15.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package multiplex implements a multiplex and demultiplexer for streams of binary data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Demux

func Demux(r io.Reader, writers ...io.Writer) error

Demux reads the multiplexed stream from r and writes to the corresponding writer.

func Mux

func Mux(bs int, w io.Writer, readers ...io.Reader) error

Mux will multiplex all the readers onto the same output writer. This can be demultiplexed with Demux.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL