positionwatcher

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PositionWatcher

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

func NewPositionWatcher

func NewPositionWatcher(r io.ReaderAt) (*PositionWatcher, error)

func (*PositionWatcher) CurrentPos

func (pwr *PositionWatcher) CurrentPos() int64

func (*PositionWatcher) Read

func (pwr *PositionWatcher) Read(p []byte) (int, error)

func (*PositionWatcher) Seek

func (pwr *PositionWatcher) Seek(offset int64, whence int) (int64, error)

Jump to

Keyboard shortcuts

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