iotoolz

package
v0.0.0-...-0a336e5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyStream

func CopyStream(dst io.Writer, src io.Reader) (int, error)

CopyStream behaves like io.Copy except that it passes data continuously from src to dst instead of waiting for the former to return io.EOF.

func CopyStreamBuffered

func CopyStreamBuffered(dst io.Writer, src io.Reader, buf chan []byte) (int, error)

CopyStreamBuffered behaves like CopyStream, but allows the user to specify the buffer to be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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