stream

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferedStream

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

func NewBufferedStream

func NewBufferedStream(source io.ReadCloser, totalSize int64) *BufferedStream

func (*BufferedStream) BufferAll

func (h *BufferedStream) BufferAll()

func (*BufferedStream) BufferingProgress

func (h *BufferedStream) BufferingProgress() float64

func (*BufferedStream) Close

func (h *BufferedStream) Close() error

func (*BufferedStream) Error

func (h *BufferedStream) Error() error

func (*BufferedStream) IsBuffered

func (h *BufferedStream) IsBuffered() bool

func (*BufferedStream) IsDone

func (h *BufferedStream) IsDone() bool

func (*BufferedStream) Length

func (h *BufferedStream) Length() int64

func (*BufferedStream) Progress

func (h *BufferedStream) Progress() float64

func (*BufferedStream) Read

func (h *BufferedStream) Read(dest []byte) (n int, err error)

func (*BufferedStream) Seek

func (h *BufferedStream) Seek(offset int64, whence int) (pos int64, err error)

func (*BufferedStream) WriteTo

func (h *BufferedStream) WriteTo(dest io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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