progressreader

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressReader

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

func Init

func Init(r io.Reader) *ProgressReader

func (*ProgressReader) Bytes

func (pr *ProgressReader) Bytes() int64

Bytes returns total read bytes from source reader

func (*ProgressReader) Read

func (pr *ProgressReader) Read(dst []byte) (int, error)

Jump to

Keyboard shortcuts

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