zipread

package
v0.0.0-...-25a907a Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SizedReaderAt

type SizedReaderAt struct {
	R    io.ReaderAt
	Size int64
}

func NewSizedReaderFromOsFile

func NewSizedReaderFromOsFile(f *os.File) (*SizedReaderAt, error)

func NewSizedReaderFromReader

func NewSizedReaderFromReader(r io.Reader) (*SizedReaderAt, error)

type ZipRead

type ZipRead struct {
	*zip.Reader
}

func FromFsFile

func FromFsFile(f fs.File) (*ZipRead, error)

func FromOsFile

func FromOsFile(f *os.File) (*ZipRead, error)

func New

func New(r *SizedReaderAt) (*ZipRead, error)

func (*ZipRead) OpenZip

func (zr *ZipRead) OpenZip(path string) (*ZipRead, error)

Jump to

Keyboard shortcuts

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