zipsection

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFormat    = errors.New("zip: not a valid zip file")
	ErrAlgorithm = errors.New("zip: unsupported compression algorithm")
	ErrChecksum  = errors.New("zip: checksum error")
)

Functions

func Detect

func Detect(path string) (sectionSize int64, err error)

func DetectFromReader

func DetectFromReader(reader io.ReaderAt, size int64) (zipSectionSize int64, err error)

func Open

func Open(path string) (*zip.Reader, io.Closer, error)

func OpenFromReader

func OpenFromReader(reader io.ReaderAt, size int64) (*zip.Reader, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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