mux

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mux

type Mux struct {
	// contains filtered or unexported fields
}

Mux is a multiplexer for multiple io.Reader objects.

func New

func New(channelNum, bitDepthInBytes int) *Mux

func (*Mux) AddSource

func (m *Mux) AddSource(source io.Reader)

func (*Mux) Close

func (m *Mux) Close() error

func (*Mux) Read

func (m *Mux) Read(buf []byte) (int, error)

func (*Mux) RemoveSource

func (m *Mux) RemoveSource(source io.Reader)

Jump to

Keyboard shortcuts

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